From 3205170a2e4f9d1c99f36a469ce1d228ed3b50cf Mon Sep 17 00:00:00 2001 From: Martin Roth Date: Tue, 24 Nov 2015 12:34:16 -0700 Subject: 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 Reviewed-on: https://review.coreboot.org/12529 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi --- src/Kconfig | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'src/Kconfig') 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 -- cgit v1.2.3