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:
parent
bd366ab485
commit
e937513352
22
src/Kconfig
22
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"
|
||||
|
|
Loading…
Reference in New Issue