The same mechanisms are used for normal and fallback images.

Hence drop the FALLBACK_ prefix

Signed-off-by: Stefan Reinauer <stepan@coreboot.org>
Acked-by: Patrick Georgi <patrick@georgi-clan.de>


git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6204 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
Stefan Reinauer 2010-12-19 21:20:14 +00:00 committed by Stefan Reinauer
parent a05ddbc46d
commit bccbbe6b69
13 changed files with 29 additions and 34 deletions

View File

@ -357,7 +357,7 @@ config PAYLOAD_ELF
endchoice endchoice
config FALLBACK_PAYLOAD_FILE config PAYLOAD_FILE
string "Payload path and filename" string "Payload path and filename"
depends on PAYLOAD_ELF depends on PAYLOAD_ELF
default "payload.elf" default "payload.elf"
@ -390,14 +390,14 @@ config VGA_BIOS
You will be able to specify the location and file name of the You will be able to specify the location and file name of the
image later. image later.
config FALLBACK_VGA_BIOS_FILE config VGA_BIOS_FILE
string "VGA BIOS path and filename" string "VGA BIOS path and filename"
depends on VGA_BIOS depends on VGA_BIOS
default "vgabios.bin" default "vgabios.bin"
help help
The path and filename of the file to use as VGA BIOS. The path and filename of the file to use as VGA BIOS.
config FALLBACK_VGA_BIOS_ID config VGA_BIOS_ID
string "VGA device PCI IDs" string "VGA device PCI IDs"
depends on VGA_BIOS depends on VGA_BIOS
default "1106,3230" default "1106,3230"
@ -421,7 +421,7 @@ config INTEL_MBI
You will be able to specify the location and file name of the You will be able to specify the location and file name of the
image later. image later.
config FALLBACK_MBI_FILE config MBI_FILE
string "Intel MBI path and filename" string "Intel MBI path and filename"
depends on INTEL_MBI depends on INTEL_MBI
default "mbi.bin" default "mbi.bin"
@ -441,7 +441,7 @@ config BOOTSPLASH
This option shows a graphical bootsplash screen. The grapics are This option shows a graphical bootsplash screen. The grapics are
loaded from the CBFS file bootsplash.jpg. loaded from the CBFS file bootsplash.jpg.
config FALLBACK_BOOTSPLASH_FILE config BOOTSPLASH_FILE
string "Bootsplash path and filename" string "Bootsplash path and filename"
depends on BOOTSPLASH depends on BOOTSPLASH
default "bootsplash.jpg" default "bootsplash.jpg"

View File

@ -35,16 +35,16 @@ endif
# Build the final rom image # Build the final rom image
COREBOOT_ROM_DEPENDENCIES:= COREBOOT_ROM_DEPENDENCIES:=
ifneq ($(CONFIG_PAYLOAD_NONE),y) ifneq ($(CONFIG_PAYLOAD_NONE),y)
COREBOOT_ROM_DEPENDENCIES+=$(CONFIG_FALLBACK_PAYLOAD_FILE) COREBOOT_ROM_DEPENDENCIES+=$(CONFIG_PAYLOAD_FILE)
endif endif
ifeq ($(CONFIG_VGA_BIOS),y) ifeq ($(CONFIG_VGA_BIOS),y)
COREBOOT_ROM_DEPENDENCIES+=$(CONFIG_FALLBACK_VGA_BIOS_FILE) COREBOOT_ROM_DEPENDENCIES+=$(CONFIG_VGA_BIOS_FILE)
endif endif
ifeq ($(CONFIG_INTEL_MBI),y) ifeq ($(CONFIG_INTEL_MBI),y)
COREBOOT_ROM_DEPENDENCIES+=$(CONFIG_FALLBACK_MBI_FILE) COREBOOT_ROM_DEPENDENCIES+=$(CONFIG_MBI_FILE)
endif endif
ifeq ($(CONFIG_BOOTSPLASH),y) ifeq ($(CONFIG_BOOTSPLASH),y)
COREBOOT_ROM_DEPENDENCIES+=$(CONFIG_FALLBACK_BOOTSPLASH_FILE) COREBOOT_ROM_DEPENDENCIES+=$(CONFIG_BOOTSPLASH_FILE)
endif endif
ifeq ($(CONFIG_AP_CODE_IN_CAR),y) ifeq ($(CONFIG_AP_CODE_IN_CAR),y)
COREBOOT_ROM_DEPENDENCIES+=$(obj)/coreboot_ap COREBOOT_ROM_DEPENDENCIES+=$(obj)/coreboot_ap
@ -81,20 +81,20 @@ $(obj)/coreboot.rom: $(obj)/coreboot.pre $(obj)/coreboot_ram $(CBFSTOOL) $(call
ifeq ($(CONFIG_PAYLOAD_NONE),y) ifeq ($(CONFIG_PAYLOAD_NONE),y)
@printf " PAYLOAD \e[1;31mnone (as specified by user)\e[0m\n" @printf " PAYLOAD \e[1;31mnone (as specified by user)\e[0m\n"
else else
@printf " PAYLOAD $(CONFIG_FALLBACK_PAYLOAD_FILE) (compression: $(CBFS_PAYLOAD_COMPRESS_NAME))\n" @printf " PAYLOAD $(CONFIG_PAYLOAD_FILE) (compression: $(CBFS_PAYLOAD_COMPRESS_NAME))\n"
$(CBFSTOOL) $@.tmp add-payload $(CONFIG_FALLBACK_PAYLOAD_FILE) $(CONFIG_CBFS_PREFIX)/payload $(CBFS_PAYLOAD_COMPRESS_FLAG) $(CBFSTOOL) $@.tmp add-payload $(CONFIG_PAYLOAD_FILE) $(CONFIG_CBFS_PREFIX)/payload $(CBFS_PAYLOAD_COMPRESS_FLAG)
endif endif
ifeq ($(CONFIG_VGA_BIOS),y) ifeq ($(CONFIG_VGA_BIOS),y)
@printf " VGABIOS $(CONFIG_FALLBACK_VGA_BIOS_FILE) $(CONFIG_FALLBACK_VGA_BIOS_ID)\n" @printf " VGABIOS $(CONFIG_VGA_BIOS_FILE) $(CONFIG_VGA_BIOS_ID)\n"
$(CBFSTOOL) $@.tmp add $(CONFIG_FALLBACK_VGA_BIOS_FILE) "pci$(CONFIG_FALLBACK_VGA_BIOS_ID).rom" optionrom $(CBFSTOOL) $@.tmp add $(CONFIG_VGA_BIOS_FILE) "pci$(CONFIG_VGA_BIOS_ID).rom" optionrom
endif endif
ifeq ($(CONFIG_INTEL_MBI),y) ifeq ($(CONFIG_INTEL_MBI),y)
@printf " MBI $(CONFIG_FALLBACK_MBI_FILE)\n" @printf " MBI $(CONFIG_MBI_FILE)\n"
$(CBFSTOOL) $@.tmp add $(CONFIG_FALLBACK_MBI_FILE) mbi.bin mbi $(CBFSTOOL) $@.tmp add $(CONFIG_MBI_FILE) mbi.bin mbi
endif endif
ifeq ($(CONFIG_BOOTSPLASH),y) ifeq ($(CONFIG_BOOTSPLASH),y)
@printf " BOOTSPLASH $(CONFIG_FALLBACK_BOOTSPLASH_FILE)\n" @printf " BOOTSPLASH $(CONFIG_BOOTSPLASH_FILE)\n"
$(CBFSTOOL) $@.tmp add $(CONFIG_FALLBACK_BOOTSPLASH_FILE) bootsplash.jpg bootsplash $(CBFSTOOL) $@.tmp add $(CONFIG_BOOTSPLASH_FILE) bootsplash.jpg bootsplash
endif endif
ifeq ($(CONFIG_GEODE_VSA_FILE),y) ifeq ($(CONFIG_GEODE_VSA_FILE),y)
@printf " VSA $(CONFIG_VSA_FILENAME)\n" @printf " VSA $(CONFIG_VSA_FILENAME)\n"

View File

@ -76,7 +76,7 @@ config MAX_PHYSICAL_CPUS
int int
default 2 default 2
config FALLBACK_VGA_BIOS_FILE config VGA_BIOS_FILE
string string
default "getac-pci8086,27a2.rom" default "getac-pci8086,27a2.rom"

View File

@ -53,7 +53,7 @@ config MAX_PHYSICAL_CPUS
int int
default 2 default 2
config FALLBACK_VGA_BIOS_FILE config VGA_BIOS_FILE
string string
default "amipci_01.20" default "amipci_01.20"

View File

@ -91,7 +91,7 @@ config RAMBASE
hex hex
default 0x200000 default 0x200000
config FALLBACK_VGA_BIOS_ID config VGA_BIOS_ID
string string
default "1002,9615" default "1002,9615"

View File

@ -54,7 +54,7 @@ config MAX_PHYSICAL_CPUS
int int
default 2 default 2
config FALLBACK_VGA_BIOS_FILE config VGA_BIOS_FILE
string string
default "amipci_01.20" default "amipci_01.20"

View File

@ -42,8 +42,8 @@ config IRQ_SLOT_COUNT
int int
default 4 default 4
# No need to override the chipset FALLBACK_VGA_BIOS_ID. # No need to override the chipset VGA_BIOS_ID.
config FALLBACK_VGA_BIOS_FILE config VGA_BIOS_FILE
string string
default "i810.vga" default "i810.vga"

View File

@ -34,11 +34,11 @@ config MAINBOARD_PCI_SUBSYSTEM_DEVICE_ID
hex hex
default 0xaa51 default 0xaa51
config FALLBACK_VGA_BIOS_FILE config VGA_BIOS_FILE
string string
default "M14CRT.ROM" default "M14CRT.ROM"
config FALLBACK_VGA_BIOS_ID config VGA_BIOS_ID
string string
default "1106,3344" default "1106,3344"

View File

@ -42,7 +42,7 @@ config VIDEO_MB
default 1 if I810_VIDEO_MB_1MB default 1 if I810_VIDEO_MB_1MB
depends on NORTHBRIDGE_INTEL_I82810 depends on NORTHBRIDGE_INTEL_I82810
config FALLBACK_VGA_BIOS_ID config VGA_BIOS_ID
string string
default "8086,7121" default "8086,7121"
depends on NORTHBRIDGE_INTEL_I82810 depends on NORTHBRIDGE_INTEL_I82810

View File

@ -27,7 +27,7 @@ config NORTHBRIDGE_INTEL_I945GM
if NORTHBRIDGE_INTEL_I945GC || NORTHBRIDGE_INTEL_I945GM if NORTHBRIDGE_INTEL_I945GC || NORTHBRIDGE_INTEL_I945GM
config FALLBACK_VGA_BIOS_ID config VGA_BIOS_ID
string string
default "8086,27a2" default "8086,27a2"

View File

@ -23,7 +23,7 @@ config NORTHBRIDGE_INTEL_SCH
if NORTHBRIDGE_INTEL_SCH if NORTHBRIDGE_INTEL_SCH
config FALLBACK_VGA_BIOS_ID config VGA_BIOS_ID
string string
default "8086,8108" default "8086,8108"
endif endif

View File

@ -2,11 +2,6 @@ config NORTHBRIDGE_VIA_CN700
bool bool
select HAVE_DEBUG_RAM_SETUP select HAVE_DEBUG_RAM_SETUP
config FALLBACK_SIZE
int
default 0
depends on NORTHBRIDGE_VIA_CN700
# TODO: Values are from the CX700 datasheet, not sure if this matches CN700. # TODO: Values are from the CX700 datasheet, not sure if this matches CN700.
# TODO: What should be the per-chipset default value here? # TODO: What should be the per-chipset default value here?
choice choice

View File

@ -176,7 +176,7 @@ function create_config
if [ "$PAYLOAD" != "/dev/null" ]; then if [ "$PAYLOAD" != "/dev/null" ]; then
echo "# CONFIG_PAYLOAD_NONE is not set" >> ${build_dir}/config.build echo "# CONFIG_PAYLOAD_NONE is not set" >> ${build_dir}/config.build
echo "CONFIG_PAYLOAD_ELF=y" >> ${build_dir}/config.build echo "CONFIG_PAYLOAD_ELF=y" >> ${build_dir}/config.build
echo "CONFIG_FALLBACK_PAYLOAD_FILE=\"$PAYLOAD\"" >> ${build_dir}/config.build echo "CONFIG_PAYLOAD_FILE=\"$PAYLOAD\"" >> ${build_dir}/config.build
fi fi
if [ "$loglevel" != "default" ]; then if [ "$loglevel" != "default" ]; then