summaryrefslogtreecommitdiff
path: root/src/mainboard/asus/p8z77-series/Kconfig
diff options
context:
space:
mode:
authorAngel Pons <th3fanbus@gmail.com>2021-05-17 18:12:01 +0200
committerPatrick Georgi <pgeorgi@google.com>2021-05-20 17:50:04 +0000
commit7c339428764231ff61af944aff02bc40765b86d2 (patch)
tree869a1851d492e67a17fac8190d066ab823418708 /src/mainboard/asus/p8z77-series/Kconfig
parente9da6c11f6103ba1ee184838aac6104bc77485d9 (diff)
downloadcoreboot-7c339428764231ff61af944aff02bc40765b86d2.tar.xz
mb/asus/p8z77-v_lx2: Extract overridetree
Tested with BUILD_TIMELESS=1, coreboot.rom for the Asus P8Z77-V LX2 remains identical when not adding the .config file in it. Change-Id: Ia84b07f5fec3c2969134b0d0bc39248d50ac04ff Signed-off-by: Angel Pons <th3fanbus@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/54413 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Diffstat (limited to 'src/mainboard/asus/p8z77-series/Kconfig')
-rw-r--r--src/mainboard/asus/p8z77-series/Kconfig12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/mainboard/asus/p8z77-series/Kconfig b/src/mainboard/asus/p8z77-series/Kconfig
index d09b3cb7b5..d963b09651 100644
--- a/src/mainboard/asus/p8z77-series/Kconfig
+++ b/src/mainboard/asus/p8z77-series/Kconfig
@@ -29,10 +29,22 @@ config MAINBOARD_PART_NUMBER
default "P8Z77-M PRO" if BOARD_ASUS_P8Z77_M_PRO
default "P8Z77-V LX2" if BOARD_ASUS_P8Z77_V_LX2
+# TODO: remove once all boards use overridetrees
+if BOARD_ASUS_P8Z77_M_PRO
+
config DEVICETREE
string
default "variants/\$(CONFIG_VARIANT_DIR)/devicetree.cb"
+endif
+if !BOARD_ASUS_P8Z77_M_PRO
+
+config OVERRIDE_DEVICETREE
+ string
+ default "variants/\$(CONFIG_VARIANT_DIR)/overridetree.cb"
+
+endif
+
config CMOS_DEFAULT_FILE
default "src/mainboard/\$(MAINBOARDDIR)/variants/\$(CONFIG_VARIANT_DIR)/cmos.default"