From df28d2058afa3ceea7f68db2f50ce293db49037a Mon Sep 17 00:00:00 2001 From: Ward Vandewege Date: Wed, 16 Apr 2008 21:34:56 +0000 Subject: [PATCH] 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 Acked-by: Ward Vandewege git-svn-id: svn://coreboot.org/repository/coreboot-v3@660 f3766cd6-281f-0410-b1cd-43a5c92072e9 --- mainboard/artecgroup/dbe62/stage1.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/mainboard/artecgroup/dbe62/stage1.c b/mainboard/artecgroup/dbe62/stage1.c index 45a7c1cca3..0cce83f0f3 100644 --- a/mainboard/artecgroup/dbe62/stage1.c +++ b/mainboard/artecgroup/dbe62/stage1.c @@ -59,6 +59,9 @@ void hardware_stage1(void) * 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)