Subrata Banik has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/47335 )
Change subject: mb/intel/adlrvp: Adopt overridetree.cb for ADL RVP mainboards ......................................................................
mb/intel/adlrvp: Adopt overridetree.cb for ADL RVP mainboards
List of changes: 1. Keep devicetree.cb inside 'variants/baseboard' 2. Create variant directory for ADL RVP with external EC as 'adlrvp_p_ext_ec' 3. Add initial overridetree.cb for 'adlrvp_p' and 'adlrvp_p_ext_ec' to override 'variants/baseboard/devicetree.cb' as applicable.
TEST=Build and boot both ADLRVP with onboard/external EC.
Change-Id: I3591e214ed32dc9baaa49b92dff59579f29c7bd6 Signed-off-by: Subrata Banik subrata.banik@intel.com --- M src/mainboard/intel/adlrvp/Kconfig A src/mainboard/intel/adlrvp/variants/adlrvp_p/overridetree.cb A src/mainboard/intel/adlrvp/variants/adlrvp_p_ext_ec/overridetree.cb R src/mainboard/intel/adlrvp/variants/baseboard/devicetree.cb 4 files changed, 15 insertions(+), 2 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/35/47335/1
diff --git a/src/mainboard/intel/adlrvp/Kconfig b/src/mainboard/intel/adlrvp/Kconfig index 97b4bf7..e82d8dd 100644 --- a/src/mainboard/intel/adlrvp/Kconfig +++ b/src/mainboard/intel/adlrvp/Kconfig @@ -31,7 +31,8 @@
config VARIANT_DIR string - default "adlrvp_p" + default "adlrvp_p" if BOARD_INTEL_ADLRVP_P + default "adlrvp_p_ext_ec" if BOARD_INTEL_ADLRVP_P_EXT_EC
config GBB_HWID string @@ -48,7 +49,11 @@
config DEVICETREE string - default "variants/$(CONFIG_VARIANT_DIR)/devicetree.cb" + default "variants/baseboard/devicetree.cb" + +config OVERRIDE_DEVICETREE + string + default "variants/$(CONFIG_VARIANT_DIR)/overridetree.cb"
config DIMM_SPD_SIZE int diff --git a/src/mainboard/intel/adlrvp/variants/adlrvp_p/overridetree.cb b/src/mainboard/intel/adlrvp/variants/adlrvp_p/overridetree.cb new file mode 100644 index 0000000..e58e9fb --- /dev/null +++ b/src/mainboard/intel/adlrvp/variants/adlrvp_p/overridetree.cb @@ -0,0 +1,4 @@ +chip soc/intel/alderlake + + device domain 0 on end +end diff --git a/src/mainboard/intel/adlrvp/variants/adlrvp_p_ext_ec/overridetree.cb b/src/mainboard/intel/adlrvp/variants/adlrvp_p_ext_ec/overridetree.cb new file mode 100644 index 0000000..e58e9fb --- /dev/null +++ b/src/mainboard/intel/adlrvp/variants/adlrvp_p_ext_ec/overridetree.cb @@ -0,0 +1,4 @@ +chip soc/intel/alderlake + + device domain 0 on end +end diff --git a/src/mainboard/intel/adlrvp/variants/adlrvp_p/devicetree.cb b/src/mainboard/intel/adlrvp/variants/baseboard/devicetree.cb similarity index 100% rename from src/mainboard/intel/adlrvp/variants/adlrvp_p/devicetree.cb rename to src/mainboard/intel/adlrvp/variants/baseboard/devicetree.cb