From 7c339428764231ff61af944aff02bc40765b86d2 Mon Sep 17 00:00:00 2001 From: Angel Pons Date: Mon, 17 May 2021 18:12:01 +0200 Subject: 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 Reviewed-on: https://review.coreboot.org/c/coreboot/+/54413 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi --- src/mainboard/asus/p8z77-series/Kconfig | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'src/mainboard/asus/p8z77-series/Kconfig') 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" -- cgit v1.2.3