From f2419983523e577688318dea523f6cb9ffb3d9b8 Mon Sep 17 00:00:00 2001 From: Furquan Shaikh Date: Thu, 21 Jun 2018 18:50:48 -0700 Subject: Kconfig: Add new config for OVERRIDE_DEVICETREE This change adds a new config option OVERRIDE_DEVICETREE that allows variants to provide an override devicetree file to override the registers and/or add new devices on top of the ones provided by baseboard devicetree using CONFIG_DEVICETREE. BUG=b:80081934 Change-Id: Ica046b7e0d70d0f1e8d94da714d1e62032277916 Signed-off-by: Furquan Shaikh Reviewed-on: https://review.coreboot.org/26691 Tested-by: build bot (Jenkins) Reviewed-by: Aaron Durbin --- src/Kconfig | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'src/Kconfig') diff --git a/src/Kconfig b/src/Kconfig index fd0a4eb9a6..875c9d0790 100644 --- a/src/Kconfig +++ b/src/Kconfig @@ -295,6 +295,17 @@ config DEVICETREE Examples: "devicetree.variant.cb" "variant/devicetree.cb" +config OVERRIDE_DEVICETREE + string + default "" + help + This symbol allows variants to provide an override devicetree file to + override the registers and/or add new devices on top of the ones + provided by baseboard devicetree using CONFIG_DEVICETREE. + + Examples: "devicetree.variant-override.cb" + "variant/devicetree-override.cb" + config CBFS_SIZE hex "Size of CBFS filesystem in ROM" # Default value set at the end of the file -- cgit v1.2.3