(trivial) add example of how to add stage0 for other cpu types to LBv3

Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>



git-svn-id: svn://coreboot.org/repository/LinuxBIOSv3@318 f3766cd6-281f-0410-b1cd-43a5c92072e9
This commit is contained in:
Stefan Reinauer 2007-05-18 15:20:11 +00:00
commit a2964a605c
3 changed files with 18 additions and 6 deletions

View file

@ -32,12 +32,20 @@ config ARCH
help
This is the name of the respective subdirectory in arch/.
config CAR_TYPE_I586
config CPU_I586
boolean
help
This option selects the reset vector and Cache-as-RAM (CAR)
implementation for a mainboard. See arch/x86/Makefile for
more hints on possible values.
CPU type. At the moment this option selects the reset vector and
Cache-as-RAM (CAR) implementation for a mainboard. See
arch/x86/Makefile for more hints on possible values.
It is usually set in mainboard/*/Kconfig.
config CPU_AMD_GEODELX
boolean
help
CPU type. At the moment this option selects the reset vector and
Cache-as-RAM (CAR) implementation for a mainboard. See
arch/x86/Makefile for more hints on possible values.
It is usually set in mainboard/*/Kconfig.
config OPTION_TABLE

View file

@ -66,10 +66,14 @@ STAGE0_LIB_OBJ = uart8250.o mem.o elfboot.o lar.o delay.o vtxprintf.o \
vsprintf.o console.o
STAGE0_ARCH_X86_OBJ = cachemain.o serial.o archelfboot.o speaker.o udelay_io.o mc146818rtc.o
ifeq ($(CONFIG_CAR_TYPE_I586),y)
ifeq ($(CONFIG_CPU_I586),y)
STAGE0_CAR_OBJ = stage0_i586.o
else
ifeq ($(CONFIG_CPU_AMD_GEODELX),y)
STAGE0_CAR_OBJ = stage0_amd_geodelx.o
else
STAGE0_CAR_OBJ = stage0_i586.o
endif
endif

View file

@ -5,7 +5,7 @@ choice
config BOARD_EMULATION_QEMU_X86
bool "QEMU x86"
select ARCH_X86
select CAR_TYPE_I586
select CPU_I586
select OPTION_TABLE
select NORTHBRIDGE_INTEL_I440BXEMULATION
select SOUTHBRIDGE_INTEL_I82371EB