2009-03-13 16:42:27 +01:00
|
|
|
target VENDOR_MAINBOARD
|
|
|
|
mainboard VENDOR/MAINBOARD
|
2007-11-02 11:36:15 +01:00
|
|
|
|
2009-03-13 16:42:27 +01:00
|
|
|
option CC="CROSSCC"
|
|
|
|
option CROSS_COMPILE="CROSS_PREFIX"
|
|
|
|
option HOSTCC="CROSS_HOSTCC"
|
2007-11-02 11:36:15 +01:00
|
|
|
|
|
|
|
__COMPRESSION__
|
|
|
|
|
|
|
|
option ROM_SIZE=256*1024
|
|
|
|
###
|
|
|
|
### Compute the location and size of where this firmware image
|
2008-01-18 16:08:58 +01:00
|
|
|
### (coreboot plus bootloader) will live in the boot rom chip.
|
2007-11-02 11:36:15 +01:00
|
|
|
###
|
|
|
|
option FALLBACK_SIZE=128*1024
|
|
|
|
|
|
|
|
romimage "normal"
|
|
|
|
option USE_FALLBACK_IMAGE=0
|
|
|
|
option ROM_IMAGE_SIZE=64*1024
|
2008-01-18 16:08:58 +01:00
|
|
|
option COREBOOT_EXTRA_VERSION=".0-Normal"
|
2007-11-02 11:36:15 +01:00
|
|
|
payload __PAYLOAD__
|
|
|
|
end
|
|
|
|
|
|
|
|
romimage "fallback"
|
|
|
|
option USE_FALLBACK_IMAGE=1
|
|
|
|
option ROM_IMAGE_SIZE=64*1024
|
2008-01-18 16:08:58 +01:00
|
|
|
option COREBOOT_EXTRA_VERSION=".0-Fallback"
|
2007-11-02 11:36:15 +01:00
|
|
|
payload __PAYLOAD__
|
|
|
|
end
|
|
|
|
|
2008-01-18 16:08:58 +01:00
|
|
|
buildrom ./coreboot.rom ROM_SIZE "normal" "fallback"
|