summaryrefslogtreecommitdiff
path: root/src/mainboard/intel/adlrvp/Kconfig
diff options
context:
space:
mode:
authorSubrata Banik <subrata.banik@intel.com>2020-11-07 13:01:49 +0530
committerSubrata Banik <subrata.banik@intel.com>2020-11-08 17:16:23 +0000
commit0a61ecef35f0b72c747961e5c0eb14f800b10d8a (patch)
tree6770e3c60aed6f95fc1529569e835f36f50ae57e /src/mainboard/intel/adlrvp/Kconfig
parent85d93ffc0a7b1eb5f24d6b8ec637497c4bdbd090 (diff)
mb/intel/adlrvp: Refactor ADLRVP code to get rid of 'variants/baseboard'
List of changes: 1. Use devicetree.cb from default location 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 'devicetree.cb' as applicable. 4. Move all common files between 'adlrvp_p' and 'adlrvp_p_ext_ec' to mainboard directory TEST=Build and boot both ADLRVP with onboard and external EC. Change-Id: I3591e214ed32dc9baaa49b92dff59579f29c7bd6 Signed-off-by: Subrata Banik <subrata.banik@intel.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/47335 Reviewed-by: V Sowmya <v.sowmya@intel.com> Reviewed-by: Angel Pons <th3fanbus@gmail.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard/intel/adlrvp/Kconfig')
-rw-r--r--src/mainboard/intel/adlrvp/Kconfig7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/mainboard/intel/adlrvp/Kconfig b/src/mainboard/intel/adlrvp/Kconfig
index 2a3dbb021c..a41c18659d 100644
--- a/src/mainboard/intel/adlrvp/Kconfig
+++ b/src/mainboard/intel/adlrvp/Kconfig
@@ -32,7 +32,8 @@ config MAINBOARD_DIR
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
@@ -47,9 +48,9 @@ config MAINBOARD_FAMILY
string
default "Intel_adlrvp"
-config DEVICETREE
+config OVERRIDE_DEVICETREE
string
- default "variants/$(CONFIG_VARIANT_DIR)/devicetree.cb"
+ default "variants/\$(CONFIG_VARIANT_DIR)/overridetree.cb"
config DIMM_SPD_SIZE
int