UPSTREAM: 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. BUG=None BRANCH=None TEST=None Signed-off-by: Martin Roth <martinroth@google.com> Reviewed-on: https://review.coreboot.org/12529 Reviewed-by: Patrick Georgi <pgeorgi@google.com> Change-Id: I761e676ba5d5f70d1fb86656b528f63db169fcef Reviewed-on: https://chromium-review.googlesource.com/368289 Commit-Ready: Furquan Shaikh <furquan@chromium.org> Tested-by: Furquan Shaikh <furquan@chromium.org> Reviewed-by: Aaron Durbin <adurbin@chromium.org>
This commit is contained in:
parent
9881de61c5
commit
1b8d8d5cf7
3 changed files with 36 additions and 13 deletions
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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue