sconfig: pass in devicetree filename
Instead of forcing the hardcoded 'devicetree.cb' filename under the mainboard directory, this allows mainboards to select a filename for the devicetree file. This allows mainboard variants that need to use different devicetree files to live under the same directory. Change-Id: I761e676ba5d5f70d1fb86656b528f63db169fcef Signed-off-by: Martin Roth <martinroth@google.com> Reviewed-on: https://review.coreboot.org/12529 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi <pgeorgi@google.com>
This commit is contained in:
11
src/Kconfig
11
src/Kconfig
@@ -358,6 +358,17 @@ 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
|
||||
|
Reference in New Issue
Block a user