[LinuxBIOS] r318 - in LinuxBIOSv3: arch/x86 mainboard/emulation
svn at openbios.org
svn at openbios.org
Fri May 18 17:20:12 CEST 2007
Author: stepan
Date: 2007-05-18 17:20:11 +0200 (Fri, 18 May 2007)
New Revision: 318
Modified:
LinuxBIOSv3/arch/x86/Kconfig
LinuxBIOSv3/arch/x86/Makefile
LinuxBIOSv3/mainboard/emulation/Kconfig
Log:
(trivial) add example of how to add stage0 for other cpu types to LBv3
Signed-off-by: Stefan Reinauer <stepan at coresystems.de>
Acked-by: Stefan Reinauer <stepan at coresystems.de>
Modified: LinuxBIOSv3/arch/x86/Kconfig
===================================================================
--- LinuxBIOSv3/arch/x86/Kconfig 2007-05-09 10:26:19 UTC (rev 317)
+++ LinuxBIOSv3/arch/x86/Kconfig 2007-05-18 15:20:11 UTC (rev 318)
@@ -32,14 +32,22 @@
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
boolean
help
Modified: LinuxBIOSv3/arch/x86/Makefile
===================================================================
--- LinuxBIOSv3/arch/x86/Makefile 2007-05-09 10:26:19 UTC (rev 317)
+++ LinuxBIOSv3/arch/x86/Makefile 2007-05-18 15:20:11 UTC (rev 318)
@@ -66,10 +66,14 @@
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
Modified: LinuxBIOSv3/mainboard/emulation/Kconfig
===================================================================
--- LinuxBIOSv3/mainboard/emulation/Kconfig 2007-05-09 10:26:19 UTC (rev 317)
+++ LinuxBIOSv3/mainboard/emulation/Kconfig 2007-05-18 15:20:11 UTC (rev 318)
@@ -5,7 +5,7 @@
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
More information about the coreboot
mailing list