summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarshall Dawson <marshalldawson3rd@gmail.com>2016-09-04 08:38:33 -0600
committerAaron Durbin <adurbin@chromium.org>2016-09-06 22:49:06 +0200
commite937513352ca1f5f9ac3e0e7d554cd649f55cb5e (patch)
tree5e81401b8e03fcd325c87a678cbd52e9088ee3a8
parentbd366ab4852adcb3734087af952e9b361e5c8bf9 (diff)
downloadcoreboot-e937513352ca1f5f9ac3e0e7d554cd649f55cb5e.tar.xz
Kconfig: Relocate DEVICETREE symbol
Place config DEVICETREE after the sourced mainboard Kconfig. This gives the mainboard the opportunity to set a unique default value. Change-Id: Id877e1e8f555334a99b6c0ee1782d06a4a2b7a04 Signed-off-by: Marshall Dawson <marshalldawson3rd@gmail.com> Reviewed-on: https://review.coreboot.org/16493 Tested-by: build bot (Jenkins) Reviewed-by: Matt DeVillier <matt.devillier@gmail.com> Reviewed-by: Martin Roth <martinroth@google.com> Reviewed-by: Aaron Durbin <adurbin@chromium.org>
-rw-r--r--src/Kconfig22
1 files changed, 11 insertions, 11 deletions
diff --git a/src/Kconfig b/src/Kconfig
index 64da06150e..a43a9796d0 100644
--- a/src/Kconfig
+++ b/src/Kconfig
@@ -341,17 +341,6 @@ config BOARD_ID_STRING
This string is placed in the 'board_id' CBFS file for indicating
board type.
-config DEVICETREE
- string
- default "devicetree.cb"
- help
- This symbol allows mainboards to select a different file under their
- mainboard directory for the devicetree.cb file. This allows the board
- variants that need different devicetrees to be in the same directory.
-
- Examples: "devicetree.variant.cb"
- "variant/devicetree.cb"
-
config RAM_CODE_SUPPORT
bool
default n
@@ -382,6 +371,17 @@ menu "Mainboard"
source "src/mainboard/Kconfig"
+config DEVICETREE
+ string
+ default "devicetree.cb"
+ help
+ This symbol allows mainboards to select a different file under their
+ mainboard directory for the devicetree.cb file. This allows the board
+ variants that need different devicetrees to be in the same directory.
+
+ Examples: "devicetree.variant.cb"
+ "variant/devicetree.cb"
+
# defaults for CBFS_SIZE are set at the end of the file.
config CBFS_SIZE
hex "Size of CBFS filesystem in ROM"