[coreboot] r3825 - in trunk/coreboot-v2: src/mainboard/kontron/986lcd-m targets/kontron/986lcd-m

svn at coreboot.org svn at coreboot.org
Fri Dec 19 15:21:42 CET 2008


Author: uwe
Date: 2008-12-19 15:21:42 +0100 (Fri, 19 Dec 2008)
New Revision: 3825

Modified:
   trunk/coreboot-v2/src/mainboard/kontron/986lcd-m/Config.lb
   trunk/coreboot-v2/targets/kontron/986lcd-m/Config.lb
Log:
Add some comments to make it easier to enable onboard VGA for
different ROM chip sizes (trivial, tested with 256 KB chip).

Signed-off-by: Uwe Hermann <uwe at hermann-uwe.de>
Acked-by: Uwe Hermann <uwe at hermann-uwe.de>



Modified: trunk/coreboot-v2/src/mainboard/kontron/986lcd-m/Config.lb
===================================================================
--- trunk/coreboot-v2/src/mainboard/kontron/986lcd-m/Config.lb	2008-12-19 05:53:30 UTC (rev 3824)
+++ trunk/coreboot-v2/src/mainboard/kontron/986lcd-m/Config.lb	2008-12-19 14:21:42 UTC (rev 3825)
@@ -180,7 +180,9 @@
 		device pci 01.0 off end # i945 PCIe root port
 		chip drivers/pci/onboard
 			device pci 02.0 on end # vga controller
-			register "rom_address" = "0xfff00000"
+			# register "rom_address" = "0xfffc0000"	# 256 KB image
+			# register "rom_address" = "0xfff80000"	# 512 KB image
+			register "rom_address" = "0xfff00000" # 1 MB image
 		end
 		device pci 02.1 on end # display controller
 

Modified: trunk/coreboot-v2/targets/kontron/986lcd-m/Config.lb
===================================================================
--- trunk/coreboot-v2/targets/kontron/986lcd-m/Config.lb	2008-12-19 05:53:30 UTC (rev 3824)
+++ trunk/coreboot-v2/targets/kontron/986lcd-m/Config.lb	2008-12-19 14:21:42 UTC (rev 3825)
@@ -3,14 +3,17 @@
 
 ## ROM_SIZE is the total number of bytes allocated for coreboot use
 ## (normal AND fallback images and payloads).
-option ROM_SIZE = 1024*1024
+option ROM_SIZE = 1024 * 1024
 
+# Use this line instead if you want to use onboard VGA:
+# option ROM_SIZE = (1024 * 1024) - (64 * 1024)
+
 ## ROM_IMAGE_SIZE is the maximum number of bytes allowed for a coreboot image,
 ## not including any payload.
-option ROM_IMAGE_SIZE = 0x20000
+option ROM_IMAGE_SIZE = 128 * 1024
 
 ## FALLBACK_SIZE is the amount of the ROM the complete fallback image 
-## (including payload) will use
+## (including payload) will use.
 option FALLBACK_SIZE = ROM_SIZE
 
 romimage "fallback"





More information about the coreboot mailing list