switch-coreboot/arch/x86/Kconfig
Carl-Daniel Hailfinger e1cbfaac02 CAR size and CAR base defines are scattered all over the place. Set them
centrally from Kconfig, but keep the Kconfig variables hidden.
That way, they are available everywhere, you don't have to try to guess
where they are set, and they come with help text if you look at
arch/x86/Kconfig.
No semantic changes, although some of the settings really could use an
overhaul.

This also is a requirement for my printk buffer patch.

Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
Acked-by: Peter Stuge <peter@stuge.se>


git-svn-id: svn://coreboot.org/repository/coreboot-v3@587 f3766cd6-281f-0410-b1cd-43a5c92072e9
2008-02-11 01:30:24 +00:00

85 lines
2.5 KiB
Text

##
## This file is part of the coreboot project.
##
## Copyright (C) 2006-2007 coresystems GmbH
## (Written by Stefan Reinauer <stepan@coresystems.de> for coresystems GmbH)
##
## This program is free software; you can redistribute it and/or modify
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation; either version 2 of the License, or
## (at your option) any later version.
##
## This program is distributed in the hope that it will be useful,
## but WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
## GNU General Public License for more details.
##
## You should have received a copy of the GNU General Public License
## along with this program; if not, write to the Free Software
## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
##
config ARCH_X86
boolean
help
This option is used to set the architecture of a mainboard.
It is usually set in mainboard/*/Kconfig.
config ARCH
string
default x86
depends ARCH_X86
help
This is the name of the respective subdirectory in arch/.
config CPU_I586
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 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
This option is used to determine whether the mainboard has
a battery backed up real time clock with CMOS NVRAM.
It is usually set in mainboard/*/Kconfig.
config PIRQ_TABLE
boolean
help
This option is used to determine whether the mainboard has
a PIRQ table, which is the old way to set up interrupt routing.
It is usually set in mainboard/*/Kconfig.
config SMP
boolean
help
This option is used to enable certain functions to make
coreboot work correctly on symmetric multi processor
systems.
It is usually set in mainboard/*/Kconfig.
config CARBASE
hex
default 0x8f000 if CPU_I586
default 0x80000 if CPU_AMD_GEODELX
help
This option sets the base address of the area used for CAR.
config CARSIZE
hex
default 0x1000 if CPU_I586
default 0x8000 if CPU_AMD_GEODELX
help
This option sets the size of the area used for CAR.