From c03cdc143a90d410066f210243278aac5acd3116 Mon Sep 17 00:00:00 2001 From: Harsha B R Date: Mon, 5 Dec 2022 14:47:37 +0530 Subject: mb/intel/mtlrvp: Add initial code for mtlrvp_p_ext_ec variant board This patch adds the initial code for mtlrvp_p_ext_ec variant board which includes 1. support for 2 mainboards (Chrome EC and Windows EC) by adding overridetree.cb to corresponding directory 2. Move devicetree to baseboard/mtlrvp_p 3. Update mainboard name in Kconfig and Kconfig.name 4. Add config option to select corresponding overridetree.cb Subsequent patches include patch train starting from (CB - 66102) BUG=b:260654043 TEST=Able to build with the patch and boot the mtlrvp platform with the subsequent patches Signed-off-by: Harsha B R Change-Id: I83948aa5e9fcaadee4745e313360773c48142f89 Reviewed-on: https://review.coreboot.org/c/coreboot/+/70346 Tested-by: build bot (Jenkins) Reviewed-by: Eric Lai Reviewed-by: Usha P --- .../mtlrvp/variants/baseboard/mtlrvp/include/baseboard/gpio.h | 9 --------- .../intel/mtlrvp/variants/baseboard/mtlrvp_p/devicetree.cb | 6 ++++++ .../mtlrvp/variants/baseboard/mtlrvp_p/include/baseboard/gpio.h | 9 +++++++++ 3 files changed, 15 insertions(+), 9 deletions(-) delete mode 100644 src/mainboard/intel/mtlrvp/variants/baseboard/mtlrvp/include/baseboard/gpio.h create mode 100644 src/mainboard/intel/mtlrvp/variants/baseboard/mtlrvp_p/devicetree.cb create mode 100644 src/mainboard/intel/mtlrvp/variants/baseboard/mtlrvp_p/include/baseboard/gpio.h (limited to 'src/mainboard/intel/mtlrvp/variants/baseboard') diff --git a/src/mainboard/intel/mtlrvp/variants/baseboard/mtlrvp/include/baseboard/gpio.h b/src/mainboard/intel/mtlrvp/variants/baseboard/mtlrvp/include/baseboard/gpio.h deleted file mode 100644 index a708db11ad..0000000000 --- a/src/mainboard/intel/mtlrvp/variants/baseboard/mtlrvp/include/baseboard/gpio.h +++ /dev/null @@ -1,9 +0,0 @@ -/* SPDX-License-Identifier: GPL-2.0-or-later */ - -#ifndef __BASEBOARD_GPIO_H__ -#define __BASEBOARD_GPIO_H__ - -#include -#include - -#endif /* __BASEBOARD_GPIO_H__ */ diff --git a/src/mainboard/intel/mtlrvp/variants/baseboard/mtlrvp_p/devicetree.cb b/src/mainboard/intel/mtlrvp/variants/baseboard/mtlrvp_p/devicetree.cb new file mode 100644 index 0000000000..ad261da896 --- /dev/null +++ b/src/mainboard/intel/mtlrvp/variants/baseboard/mtlrvp_p/devicetree.cb @@ -0,0 +1,6 @@ +chip soc/intel/meteorlake + + device domain 0 on + device ref igpu on end + end +end diff --git a/src/mainboard/intel/mtlrvp/variants/baseboard/mtlrvp_p/include/baseboard/gpio.h b/src/mainboard/intel/mtlrvp/variants/baseboard/mtlrvp_p/include/baseboard/gpio.h new file mode 100644 index 0000000000..a708db11ad --- /dev/null +++ b/src/mainboard/intel/mtlrvp/variants/baseboard/mtlrvp_p/include/baseboard/gpio.h @@ -0,0 +1,9 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ + +#ifndef __BASEBOARD_GPIO_H__ +#define __BASEBOARD_GPIO_H__ + +#include +#include + +#endif /* __BASEBOARD_GPIO_H__ */ -- cgit v1.2.3