summaryrefslogtreecommitdiff
path: root/targets/arima
diff options
context:
space:
mode:
authorRonald G. Minnich <rminnich@gmail.com>2003-06-25 03:20:22 +0000
committerRonald G. Minnich <rminnich@gmail.com>2003-06-25 03:20:22 +0000
commit0f28460efbf4548c8bcfc2b20419f8375cd231c7 (patch)
tree8547adb25dc94fd1ba927f389e58b370ea4a4df5 /targets/arima
parented27a5e5474b0c23dbedca9519f72265a8f1cf51 (diff)
downloadcoreboot-0f28460efbf4548c8bcfc2b20419f8375cd231c7.tar.xz
more fixes but it appears that options are not picking up the right values.
I set USE_FALLBACK_IMAGE to 1 in the top-level Config, but when it is tested in arima/hdama/Config.lb, it is acting as though it is zero. Also added a print command so it is easier to trace 'if' behavior. Usage: print "string" git-svn-id: svn://svn.coreboot.org/coreboot/trunk@913 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'targets/arima')
-rw-r--r--targets/arima/hdama/Config.lb19
1 files changed, 11 insertions, 8 deletions
diff --git a/targets/arima/hdama/Config.lb b/targets/arima/hdama/Config.lb
index bd20788f1f..e819cfa64e 100644
--- a/targets/arima/hdama/Config.lb
+++ b/targets/arima/hdama/Config.lb
@@ -42,6 +42,7 @@ uses SIO_SYSTEM_CLK_INPUT
uses STACK_SIZE
uses USE_ELF_BOOT
uses USE_FALLBACK_IMAGE
+uses USE_NORMAL_IMAGE
uses USE_OPTION_TABLE
uses HAVE_OPTION_TABLE
@@ -64,7 +65,9 @@ option SIO_SYSTEM_CLK_INPUT=0
###
### Build code for the fallback boot
###
+# at some point it will be possible to set both of these to 1.
option HAVE_FALLBACK_BOOT=1
+option USE_NORMAL_IMAGE=0
#
###
### Build code to export a programmable irq routing table
@@ -125,14 +128,14 @@ option USE_OPTION_TABLE=!USE_FALLBACK_IMAGE
### Compute the location and size of where this firmware image
### (linuxBIOS plus bootloader) will live in the boot rom chip.
###
-#if USE_FALLBACK_IMAGE
-# option ROM_SECTION_SIZE = FALLBACK_SIZE
-# option ROM_SECTION_OFFSET= (ROM_SIZE - FALLBACK_SIZE)
-#end
-#if USE_NORMAL_IMAGE
-# option ROM_SECTION_SIZE = (ROM_SIZE - FALLBACK_SIZE)
-# option ROM_SECTION_OFFSET= 0
-#end
+if USE_FALLBACK_IMAGE
+ option ROM_SECTION_SIZE = FALLBACK_SIZE
+ option ROM_SECTION_OFFSET= (ROM_SIZE - FALLBACK_SIZE)
+end
+if USE_NORMAL_IMAGE
+ option ROM_SECTION_SIZE = (ROM_SIZE - FALLBACK_SIZE)
+ option ROM_SECTION_OFFSET= 0
+end
###
### Compute where this copy of linuxBIOS will start in the boot rom
###