summaryrefslogtreecommitdiff
path: root/targets/amd/pistachio/Config.lb
diff options
context:
space:
mode:
Diffstat (limited to 'targets/amd/pistachio/Config.lb')
-rw-r--r--targets/amd/pistachio/Config.lb21
1 files changed, 21 insertions, 0 deletions
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"