diff options
author | Martin Roth <martinroth@google.com> | 2015-11-24 12:34:16 -0700 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2016-08-08 19:14:33 +0200 |
commit | 3205170a2e4f9d1c99f36a469ce1d228ed3b50cf (patch) | |
tree | a3a75255dec3fd7162c7cdb43c8089c85a464acc /src | |
parent | 052a9955678eb514067efb5ccc4de907faa248e1 (diff) |
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>
Diffstat (limited to 'src')
-rw-r--r-- | src/Kconfig | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/Kconfig b/src/Kconfig index 3cb012e978..a403c53b20 100644 --- a/src/Kconfig +++ b/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 |