summaryrefslogtreecommitdiff
path: root/targets/iwill
diff options
context:
space:
mode:
Diffstat (limited to 'targets/iwill')
-rw-r--r--targets/iwill/dk8_htx/Config-abuild.lb32
1 files changed, 21 insertions, 11 deletions
diff --git a/targets/iwill/dk8_htx/Config-abuild.lb b/targets/iwill/dk8_htx/Config-abuild.lb
index 8332de0f18..322da5bfbd 100644
--- a/targets/iwill/dk8_htx/Config-abuild.lb
+++ b/targets/iwill/dk8_htx/Config-abuild.lb
@@ -1,25 +1,35 @@
-# This will make a target directory of ./iwill_dk8_htx
+# This will make a target directory of ./VENDOR_MAINBOARD
-target iwill_dk8_htx
-mainboard iwill/dk8_htx
+target VENDOR_MAINBOARD
+mainboard VENDOR/MAINBOARD
-option CC="gcc -m32"
-option CROSS_COMPILE=""
-option HOSTCC="gcc"
+option CC="CROSSCC"
+option CROSS_COMPILE="CROSS_PREFIX"
+option HOSTCC="CROSS_HOSTCC"
-option CONFIG_COMPRESSED_PAYLOAD_LZMA=1
+__COMPRESSION__
romimage "normal"
+ option USE_FAILOVER_IMAGE=0
option USE_FALLBACK_IMAGE=0
- option ROM_IMAGE_SIZE=0x17000
+ option ROM_IMAGE_SIZE=0x20000
option COREBOOT_EXTRA_VERSION=".0-normal"
payload __PAYLOAD__
end
-romimage "fallback"
+romimage "fallback"
+ option USE_FAILOVER_IMAGE=0
option USE_FALLBACK_IMAGE=1
- option ROM_IMAGE_SIZE=0x17000
+ option ROM_IMAGE_SIZE=0x20000
option COREBOOT_EXTRA_VERSION=".0-fallback"
payload __PAYLOAD__
end
-buildrom ./coreboot.rom ROM_SIZE "normal" "fallback"
+
+romimage "failover"
+ option USE_FAILOVER_IMAGE=1
+ option USE_FALLBACK_IMAGE=0
+ option ROM_IMAGE_SIZE=FAILOVER_SIZE
+ option XIP_ROM_SIZE=FAILOVER_SIZE
+end
+
+buildrom ./coreboot.rom ROM_SIZE "normal" "fallback" "failover"