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>
This commit is contained in:
Marshall Dawson 2016-09-04 08:38:33 -06:00 committed by Aaron Durbin
parent bd366ab485
commit e937513352
1 changed files with 11 additions and 11 deletions

View File

@ -341,17 +341,6 @@ config BOARD_ID_STRING
This string is placed in the 'board_id' CBFS file for indicating This string is placed in the 'board_id' CBFS file for indicating
board type. 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 config RAM_CODE_SUPPORT
bool bool
default n default n
@ -382,6 +371,17 @@ menu "Mainboard"
source "src/mainboard/Kconfig" 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. # defaults for CBFS_SIZE are set at the end of the file.
config CBFS_SIZE config CBFS_SIZE
hex "Size of CBFS filesystem in ROM" hex "Size of CBFS filesystem in ROM"