summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPatrick Georgi <patrick.georgi@coresystems.de>2010-03-14 21:31:05 +0000
committerPatrick Georgi <patrick.georgi@coresystems.de>2010-03-14 21:31:05 +0000
commitcc6692695588efee192a64e1f70bdb343b2b39c5 (patch)
treed06dcf249dbe214dd87b67301928222d854d6d1f /src
parent020f51fdc0c54c8dcb115de611d48946695b155d (diff)
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
Diffstat (limited to 'src')
-rw-r--r--src/Kconfig24
-rw-r--r--src/Kconfig.deprecated_options33
2 files changed, 35 insertions, 22 deletions
diff --git a/src/Kconfig b/src/Kconfig
index d361315540..1e1de895df 100644
--- a/src/Kconfig
+++ b/src/Kconfig
@@ -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
diff --git a/src/Kconfig.deprecated_options b/src/Kconfig.deprecated_options
new file mode 100644
index 0000000000..219e5d777e
--- /dev/null
+++ b/src/Kconfig.deprecated_options
@@ -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.