summaryrefslogtreecommitdiff
path: root/targets
diff options
context:
space:
mode:
authorGreg Watson <jarrah@users.sourceforge.net>2003-07-18 17:17:52 +0000
committerGreg Watson <jarrah@users.sourceforge.net>2003-07-18 17:17:52 +0000
commitb2e67cdd2ce8a78f79f8ddac806209c2422235f5 (patch)
tree26741559e1e769d751789bab0dbd00c8002171a1 /targets
parent6ae46145e687923876464f4677667ab95b7203d3 (diff)
downloadcoreboot-b2e67cdd2ce8a78f79f8ddac806209c2422235f5.tar.xz
new config format
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@984 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'targets')
-rw-r--r--targets/arima/hdama/Config.lb43
1 files changed, 18 insertions, 25 deletions
diff --git a/targets/arima/hdama/Config.lb b/targets/arima/hdama/Config.lb
index cb21b6e4ab..0cceb92a47 100644
--- a/targets/arima/hdama/Config.lb
+++ b/targets/arima/hdama/Config.lb
@@ -63,13 +63,6 @@ option SIO_BASE=0x2e
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=0
-option USE_NORMAL_IMAGE=0
-#
-###
### Build code to export a programmable irq routing table
###
option HAVE_PIRQ_TABLE=1
@@ -117,27 +110,12 @@ option ENABLE_FIXED_AND_VARIABLE_MTRRS=1
### Call the final_mainboard_fixup function
###
option FINAL_MAINBOARD_FIXUP=1
-option USE_FALLBACK_IMAGE=1
###
-### Only use the option table in a normal image
-###
-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.
###
#option FALLBACK_SIZE=524288
-if USE_FALLBACK_IMAGE
- print "Using fallback ROM setup"
- 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
###
@@ -185,9 +163,24 @@ option PAYLOAD_SIZE = (ROM_SECTION_SIZE - ROM_IMAGE_SIZE)
option CONFIG_ROM_STREAM_START = (0xffffffff - ROM_SIZE + ROM_SECTION_OFFSET + 1)
option CONFIG_ROM_STREAM = 1
option _ROMBASE = (CONFIG_ROM_STREAM_START + PAYLOAD_SIZE)
+
#
# Arima hdama
-mainboard arima/hdama
- makedefine CFLAGS += -g
- payload ../eepro100.ebi
+romimage "normal"
+ option USE_FALLBACK_IMAGE=0
+ option ROM_SECTION_SIZE = (ROM_SIZE - FALLBACK_SIZE)
+ option ROM_SECTION_OFFSET= 0
+ mainboard arima/hdama
+ payload ../eepro100.ebi
end
+
+romimage "fallback"
+ option USE_FALLBACK_IMAGE=1
+ option HAVE_FALLBACK_BOOT=1
+ option ROM_SECTION_SIZE = FALLBACK_SIZE
+ option ROM_SECTION_OFFSET= (ROM_SIZE - FALLBACK_SIZE)
+ mainboard arima/hdama
+ payload ../eepro100.ebi
+end
+
+buildrom ROM_SIZE "normal" "fallback"