summaryrefslogtreecommitdiff
path: root/targets/olpc
diff options
context:
space:
mode:
authorRichard Smith <smithbone@gmail.com>2006-08-11 08:15:19 +0000
committerRichard Smith <smithbone@gmail.com>2006-08-11 08:15:19 +0000
commite5522c39c09a61770c4014b237d2c53c78535ea9 (patch)
treeaed04071f7df62baa92e5b2e5e841efcb02d79a0 /targets/olpc
parent273595c6f7adf87f733e95285948aa9dc7564ef1 (diff)
- revert Config.1M.lb back to PLCC size and add new SPI config file
SPI config file is 1M-128k to allow for EC code git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2374 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'targets/olpc')
-rw-r--r--targets/olpc/rev_a/Config.1M.lb2
-rw-r--r--targets/olpc/rev_a/Config.SPI.lb23
2 files changed, 24 insertions, 1 deletions
diff --git a/targets/olpc/rev_a/Config.1M.lb b/targets/olpc/rev_a/Config.1M.lb
index f7e7be7483..bd5c214426 100644
--- a/targets/olpc/rev_a/Config.1M.lb
+++ b/targets/olpc/rev_a/Config.1M.lb
@@ -8,7 +8,7 @@ mainboard olpc/rev_a
#option CONFIG_PRECOMPRESSED_ROM_STREAM=1
# leave 64k for vsa
-option ROM_SIZE=1024*1024-64*1024-64*1024
+option ROM_SIZE=(1024*1024)-(64*1024)
option FALLBACK_SIZE=ROM_SIZE
option DEFAULT_CONSOLE_LOGLEVEL = 11
diff --git a/targets/olpc/rev_a/Config.SPI.lb b/targets/olpc/rev_a/Config.SPI.lb
new file mode 100644
index 0000000000..ecea6f4e89
--- /dev/null
+++ b/targets/olpc/rev_a/Config.SPI.lb
@@ -0,0 +1,23 @@
+# Config file for the olpc rev_a
+
+target rev_a_1M
+mainboard olpc/rev_a
+
+# Don't let LinuxBIOS compress the payload
+# option CONFIG_COMPRESSED_ROM_STREAM=0
+#option CONFIG_PRECOMPRESSED_ROM_STREAM=1
+
+# leave 64k for vsa and 64k for EC code
+option ROM_SIZE=(1024*1024)-(64*1024)-(64*1024)
+option FALLBACK_SIZE=ROM_SIZE
+
+option DEFAULT_CONSOLE_LOGLEVEL = 11
+option MAXIMUM_CONSOLE_LOGLEVEL = 11
+romimage "fallback"
+ option USE_FALLBACK_IMAGE=1
+ option ROM_IMAGE_SIZE=32*1024
+ option LINUXBIOS_EXTRA_VERSION=".0Fallback"
+ payload /tmp/olpcpayload.elf
+end
+
+buildrom ./linuxbios.rom ROM_SIZE "fallback"