[coreboot] [PATCH] artecgroup/dbe62: Set up 4MB mode for LPC dongle
Mart Raudsepp
mart.raudsepp at artecdesign.ee
Tue Apr 15 19:16:44 CEST 2008
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 at 0xffc00000 for FILO with 4MB minus ROM area available.
Signed-off-by: Mart Raudsepp <mart.raudsepp at artecdesign.ee>
---
For your consideration of suitability for stage1 mainboard setup.
mainboard/artecgroup/dbe62/stage1.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/mainboard/artecgroup/dbe62/stage1.c b/mainboard/artecgroup/dbe62/stage1.c
index 45a7c1c..45609ce 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 */
+ outb(0xf4,0x88);
}
void mainboard_pre_payload(void)
--
1.5.4.5
More information about the coreboot
mailing list