summaryrefslogtreecommitdiff
path: root/targets/tyan/s2881
diff options
context:
space:
mode:
authorWard Vandewege <ward@gnu.org>2008-03-10 18:48:52 +0000
committerWard Vandewege <ward@gnu.org>2008-03-10 18:48:52 +0000
commit7aad44c4962656a476dbdf4d5eb54c0e142818d8 (patch)
tree936ca30235256e6fcdc890dbeabd09790a67f88e /targets/tyan/s2881
parent6a1dc86005bb14c14d1b0f8c69f554912a2d3199 (diff)
downloadcoreboot-7aad44c4962656a476dbdf4d5eb54c0e142818d8.tar.xz
This patch changes the Config.lb files and adds a Config-lab.lb file for the
tyan s2881 board, in preparation of supporting it in buildrom. Corresponding changes for the other buildrom-supported boards were committed in r3092. Signed-off-by: Ward Vandewege <ward@gnu.org> Acked-by: Jordan Crouse <jordan.crouse@amd.com> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3130 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'targets/tyan/s2881')
-rw-r--r--targets/tyan/s2881/Config-lab.lb23
-rw-r--r--targets/tyan/s2881/Config.lb6
2 files changed, 27 insertions, 2 deletions
diff --git a/targets/tyan/s2881/Config-lab.lb b/targets/tyan/s2881/Config-lab.lb
new file mode 100644
index 0000000000..bc7ecf1188
--- /dev/null
+++ b/targets/tyan/s2881/Config-lab.lb
@@ -0,0 +1,23 @@
+# Sample config file for
+# the Tyan s2881
+# This will make a target directory of ./s2881
+
+target s2881
+mainboard tyan/s2881
+
+option ROM_SIZE=0x100000
+# 36K for ATI ROM in 1M
+option FALLBACK_SIZE=(ROM_SIZE-0x9000)
+
+# Tyan s2881
+romimage "fallback"
+ option USE_FALLBACK_IMAGE=1
+ option CONFIG_COMPRESSED_PAYLOAD_LZMA=1
+ option CONFIG_PRECOMPRESSED_PAYLOAD=1
+ option ROM_IMAGE_SIZE=0x17000
+ option XIP_ROM_SIZE=0x40000
+ option COREBOOT_EXTRA_VERSION="$(shell cat ../../VERSION)_Fallback"
+ payload ../payload.elf.lzma
+end
+
+buildrom ./coreboot.rom ROM_SIZE "fallback"
diff --git a/targets/tyan/s2881/Config.lb b/targets/tyan/s2881/Config.lb
index d16a0ee867..d7bf7a4825 100644
--- a/targets/tyan/s2881/Config.lb
+++ b/targets/tyan/s2881/Config.lb
@@ -25,12 +25,13 @@ romimage "normal"
# payload ../../../payloads/filo_mem.elf
# payload ../../../payloads/filo.zelf
# payload ../../../payloads/tg3--filo.zelf
- payload ../../../../payloads/tg3--filo_hda2_vga.zelf
+# payload ../../../../payloads/tg3--filo_hda2_vga.zelf
# payload ../../../payloads/tg3--filo_hda1_vga_md1.zelf
# payload ../../../payloads/tg3--filo_btext_hda2.zelf
# payload ../../../payloads/e1000--filo.zelf
# payload ../../../payloads/tg3--e1000--filo.zelf
# payload ../../../payloads/tg3--eepro100--e1000--filo_hda2.zelf
+ payload ../payload.elf
end
romimage "fallback"
@@ -46,12 +47,13 @@ romimage "fallback"
# payload ../../../payloads/filo_mem.elf
# payload ../../../payloads/filo.zelf
# payload ../../../payloads/tg3--filo.zelf
- payload ../../../../payloads/tg3--filo_hda2_vga.zelf
+# payload ../../../../payloads/tg3--filo_hda2_vga.zelf
# payload ../../../payloads/tg3--filo_hda1_vga_md1.zelf
# payload ../../../payloads/e1000--filo.zelf
# payload ../../../payloads/tg3--filo_btext_hda2.zelf
# payload ../../../payloads/tg3--e1000--filo.zelf
# payload ../../../payloads/tg3--eepro100--e1000--filo_hda2.zelf
+ payload ../payload.elf
end
buildrom ./coreboot.rom ROM_SIZE "normal" "fallback"