summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUwe Hermann <uwe@hermann-uwe.de>2008-12-19 14:21:42 +0000
committerUwe Hermann <uwe@hermann-uwe.de>2008-12-19 14:21:42 +0000
commitb1fc0ba3fc10a7ad261fcf16f0880fc66711b7a3 (patch)
treecac9cc94e1fe28c5a5bb56928b00b2b445de5494
parent734acd59823026055dfb46085d256bb74af57a82 (diff)
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@hermann-uwe.de> Acked-by: Uwe Hermann <uwe@hermann-uwe.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3825 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
-rw-r--r--src/mainboard/kontron/986lcd-m/Config.lb4
-rw-r--r--targets/kontron/986lcd-m/Config.lb9
2 files changed, 9 insertions, 4 deletions
diff --git a/src/mainboard/kontron/986lcd-m/Config.lb b/src/mainboard/kontron/986lcd-m/Config.lb
index 5be778c0f0..0e1ee9774f 100644
--- a/src/mainboard/kontron/986lcd-m/Config.lb
+++ b/src/mainboard/kontron/986lcd-m/Config.lb
@@ -180,7 +180,9 @@ chip northbridge/intel/i945
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
diff --git a/targets/kontron/986lcd-m/Config.lb b/targets/kontron/986lcd-m/Config.lb
index 479866380b..6301718159 100644
--- a/targets/kontron/986lcd-m/Config.lb
+++ b/targets/kontron/986lcd-m/Config.lb
@@ -3,14 +3,17 @@ mainboard kontron/986lcd-m
## 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"