diff options
Diffstat (limited to 'targets')
-rw-r--r-- | targets/amd/pistachio/Config-abuild.lb | 29 | ||||
-rw-r--r-- | targets/amd/pistachio/Config.lb | 21 |
2 files changed, 50 insertions, 0 deletions
diff --git a/targets/amd/pistachio/Config-abuild.lb b/targets/amd/pistachio/Config-abuild.lb new file mode 100644 index 0000000000..ebac1d42ab --- /dev/null +++ b/targets/amd/pistachio/Config-abuild.lb @@ -0,0 +1,29 @@ +# This will make a target directory of ./VENDOR_MAINBOARD + +target VENDOR_MAINBOARD +mainboard VENDOR/MAINBOARD + +option CC="CROSSCC" +option CROSS_COMPILE="CROSS_PREFIX" +option HOSTCC="CROSS_HOSTCC" + +__COMPRESSION__ + +option ROM_SIZE=1024*1024 +romimage "normal" + option USE_FALLBACK_IMAGE=0 + option ROM_IMAGE_SIZE=0x20000 + option XIP_ROM_SIZE=0x20000 + option COREBOOT_EXTRA_VERSION=".0-normal" + payload __PAYLOAD__ +end + +romimage "failover" + option USE_FALLBACK_IMAGE=1 + option ROM_IMAGE_SIZE=0x20000 + option XIP_ROM_SIZE=0x20000 + option COREBOOT_EXTRA_VERSION=".0-failover" + payload __PAYLOAD__ +end + +buildrom ./coreboot.rom ROM_SIZE "normal" "failover" diff --git a/targets/amd/pistachio/Config.lb b/targets/amd/pistachio/Config.lb new file mode 100644 index 0000000000..af8e1afa40 --- /dev/null +++ b/targets/amd/pistachio/Config.lb @@ -0,0 +1,21 @@ +# This will make a target directory of ./pistachio + +target pistachio +mainboard amd/pistachio + +romimage "normal" + option ROM_SIZE = 1024*1024 - 55808 + option USE_FALLBACK_IMAGE=0 + option ROM_IMAGE_SIZE=0x20000 + option XIP_ROM_SIZE=0x20000 + payload ../payload.elf +end + +romimage "fallback" + option USE_FALLBACK_IMAGE=1 + option ROM_IMAGE_SIZE=0x20000 + option XIP_ROM_SIZE=0x20000 + payload ../payload.elf +end + +buildrom ./coreboot.rom ROM_SIZE "normal" "fallback" |