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
This commit is contained in:
parent
734acd5982
commit
b1fc0ba3fc
|
@ -180,7 +180,9 @@ chip northbridge/intel/i945
|
||||||
device pci 01.0 off end # i945 PCIe root port
|
device pci 01.0 off end # i945 PCIe root port
|
||||||
chip drivers/pci/onboard
|
chip drivers/pci/onboard
|
||||||
device pci 02.0 on end # vga controller
|
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
|
end
|
||||||
device pci 02.1 on end # display controller
|
device pci 02.1 on end # display controller
|
||||||
|
|
||||||
|
|
|
@ -3,14 +3,17 @@ mainboard kontron/986lcd-m
|
||||||
|
|
||||||
## ROM_SIZE is the total number of bytes allocated for coreboot use
|
## ROM_SIZE is the total number of bytes allocated for coreboot use
|
||||||
## (normal AND fallback images and payloads).
|
## (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,
|
## ROM_IMAGE_SIZE is the maximum number of bytes allowed for a coreboot image,
|
||||||
## not including any payload.
|
## 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
|
## 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
|
option FALLBACK_SIZE = ROM_SIZE
|
||||||
|
|
||||||
romimage "fallback"
|
romimage "fallback"
|
||||||
|
|
Loading…
Reference in New Issue