[coreboot] [PATCH] artecgroup/dbe61: Set up 4MB mode for LPC dongle

Mart Raudsepp mart.raudsepp at artecdesign.ee
Wed May 28 02:30:19 CEST 2008


artecgroup/dbe61: 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 at 0xffc00000 for FILO with 4MB minus ROM area
available.

This should be a no-op when not booting from the dongle.

The same change was done to artecgroup/dbe62/stage1.c in rev660.

Signed-off-by: Mart Raudsepp <mart.raudsepp at artecdesign.ee>
---
 mainboard/artecgroup/dbe61/stage1.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/mainboard/artecgroup/dbe61/stage1.c
b/mainboard/artecgroup/dbe61/stage1.c
index c159171..70fd82f 100644
--- a/mainboard/artecgroup/dbe61/stage1.c
+++ b/mainboard/artecgroup/dbe61/stage1.c
@@ -60,6 +60,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)
-- 
1.5.4.5






More information about the coreboot mailing list