new config format

git-svn-id: svn://svn.coreboot.org/coreboot/trunk@984 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
Greg Watson 2003-07-18 17:17:52 +00:00
parent 6ae46145e6
commit b2e67cdd2c
2 changed files with 20 additions and 25 deletions

View File

@ -141,3 +141,5 @@ cpu p5 end
cpu p6 end
cpu k7 end
cpu k8 end
makedefine CFLAGS += -g

View File

@ -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"