aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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.