This patch fixes RAMBASE 0x100000 for Wyse S50.
I think that the problem was that extended memory was not setup early enough.
This patch is boot tested on r5621.

Signed-off-by: Nils Jacobs <[email protected]>

And now with patch attached,sorry.

Thanks,Nils.


Index: src/mainboard/wyse/s50/Kconfig
===================================================================
--- src/mainboard/wyse/s50/Kconfig	(revision 5621)
+++ src/mainboard/wyse/s50/Kconfig	(working copy)
@@ -48,8 +48,3 @@
 	int
 	default 3
 	depends on BOARD_WYSE_S50
-
-config RAMBASE
-	hex
-	default 0x4000
-	depends on BOARD_WYSE_S50
Index: src/mainboard/wyse/s50/romstage.c
===================================================================
--- src/mainboard/wyse/s50/romstage.c	(revision 5621)
+++ src/mainboard/wyse/s50/romstage.c	(working copy)
@@ -1,3 +1,4 @@
+
 /*
  * This file is part of the coreboot project.
  *
@@ -136,13 +137,15 @@
 	__builtin_wrmsr(CPU_RCONF_C0_DF,  0x00000000, 0x00000000); /* 0xC0000-0xDFFFF : (Write Back) */
 	__builtin_wrmsr(CPU_RCONF_E0_FF,  0x00000000, 0x00000000); /* 0xE0000-0xFFFFF : (Write Back) */
 	
-	/* Setup access to memory under 1MB. Note: VGA hole at 0xA0000-0xBFFFF */
+	/* Setup access to memory. Note: VGA hole at 0xA0000-0xBFFFF */
 	__builtin_wrmsr(MSR_GLIU0_BASE1, 0x000fff80, 0x20000000); /*	0x00000-0x7FFFF */
 	__builtin_wrmsr(MSR_GLIU0_BASE2, 0x080fffe0, 0x20000000); /*	0x80000-0x9FFFF */
 	__builtin_wrmsr(MSR_GLIU0_SHADOW, 0xffff0003, 0x2000ffff); /*	0xC0000-0xFFFFF */
+	__builtin_wrmsr(MSR_GLIU0_SYSMEM, 0x6bf00100, 0x2000001f); /*	0x100000-0x1F6BF000 */
 	__builtin_wrmsr(MSR_GLIU1_BASE1, 0x000fff80, 0x20000000); /*	0x00000-0x7FFFF */
 	__builtin_wrmsr(MSR_GLIU1_BASE2, 0x080fffe0, 0x20000000); /*	0x80000-0x9FFFF */
 	__builtin_wrmsr(MSR_GLIU1_SHADOW, 0xffff0003, 0x2000ffff); /*	0xC0000-0xFFFFF */
+	__builtin_wrmsr(MSR_GLIU1_SYSMEM, 0x6bf00100, 0x2000001f); /*	0x100000-0x1F6BF000 */
 
 	/* put code in northbridge[init].c here */
 }
-- 
coreboot mailing list: [email protected]
http://www.coreboot.org/mailman/listinfo/coreboot

Reply via email to