Author: ward Date: 2008-04-16 23:34:56 +0200 (Wed, 16 Apr 2008) New Revision: 660
Modified: coreboot-v3/mainboard/artecgroup/dbe62/stage1.c Log:
artecgroup/dbe62: Set up 4MB mode for LPC dongle
This way we can fit a kernel and initramfs on the dongle's free ~3.75MB space and have a debug system bootable right from inside the dongle. The start address of the dongle is mem@0xffc00000 for FILO with 4MB minus ROM area available.
This should be a no-op when not booting from the dongle.
Signed-off-by: Mart Raudsepp mart.raudsepp@artecdesign.ee Acked-by: Ward Vandewege ward@gnu.org
Modified: coreboot-v3/mainboard/artecgroup/dbe62/stage1.c =================================================================== --- coreboot-v3/mainboard/artecgroup/dbe62/stage1.c 2008-04-16 16:40:45 UTC (rev 659) +++ coreboot-v3/mainboard/artecgroup/dbe62/stage1.c 2008-04-16 21:34:56 UTC (rev 660) @@ -59,6 +59,9 @@ * early MSR setup for the CS5536. */ cs5536_setup_onchipuart(2); + + /* Set up 4MB mode for Artec LPC Dongle (this should be a no-op when not booting from the dongle) */ + outb(0xf4,0x88); }
void mainboard_pre_payload(void)