Move deprecated Kconfig options to their own file,
authorPatrick Georgi <patrick.georgi@coresystems.de>
Sun, 14 Mar 2010 21:31:05 +0000 (21:31 +0000)
committerPatrick Georgi <patrick.georgi@coresystems.de>
Sun, 14 Mar 2010 21:31:05 +0000 (21:31 +0000)
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

src/Kconfig
src/Kconfig.deprecated_options [new file with mode: 0644]

index d361315540780f6a4015673a99d793e9650a05f6..1e1de895dfc16fd9fea75e54ab984d8f8b3b5770 100644 (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
diff --git a/src/Kconfig.deprecated_options b/src/Kconfig.deprecated_options
new file mode 100644 (file)
index 0000000..219e5d7
--- /dev/null
@@ -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.