Move deprecated Kconfig options to their own file,

so it's clear that they should be gone.
More can (and should) be added, but this is a start.

Of course, eliminating the uses of the flags (and then
the flags themselves) that are in Kconfig.deprecated_options
is a noble task for the future :-)

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


git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5209 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
Patrick Georgi 2010-03-14 21:31:05 +00:00
parent 020f51fdc0
commit cc66926955
2 changed files with 35 additions and 22 deletions

View File

@ -283,28 +283,6 @@ config HAVE_HARD_RESET
This variable specifies whether a given board has a hard_reset
function, no matter if it's provided by board code or chipset code.
config BOARD_HAS_HARD_RESET
bool
default n
help
This variable specifies whether a given board has a reset.c
file containing a hard_reset() function.
config BOARD_HAS_FADT
bool
default n
help
This variable specifies whether a given board has a board-local
FADT in fadt.c. Long-term, those should be moved to appropriate
chipset components (eg. southbridge)
config HAVE_BUS_CONFIG
bool
default n
help
This variable specifies whether a given board has a get_bus_conf.c
file containing bus configuration data.
config HAVE_INIT_TIMER
bool
default n if UDELAY_IO
@ -841,3 +819,5 @@ config WARNINGS_ARE_ERRORS
config ID_SECTION_OFFSET
hex
default 0x10
source src/Kconfig.deprecated_options

View File

@ -0,0 +1,33 @@
# Options in this file are meant to be deprecated. Avoid their use
# if possible, and if you find the time, or touch the general area
# for other purposes, please consider removing their uses.
# It might be possible to consolidate hard_reset() to southbridges,
# given that it (usually) uses its registers.
# The long term goal would be to eliminate hard_reset from boards.
config BOARD_HAS_HARD_RESET
bool
default n
help
This variable specifies whether a given board has a reset.c
file containing a hard_reset() function.
# It might be possible to consolidate FADTs to southbridges. This would
# improve code reuse in the tree.
config BOARD_HAS_FADT
bool
default n
help
This variable specifies whether a given board has a board-local
FADT in fadt.c. Long-term, those should be moved to appropriate
chipset components (eg. southbridge)
# There ought to be a better place to put data than code. Also, make this
# (or a similar) framework more universally usable, so all boards benefit
# from sharing data between the various tables.
config HAVE_BUS_CONFIG
bool
default n
help
This variable specifies whether a given board has a get_bus_conf.c
file containing information about bus routing.