From 531fd1af2333fe831c70a88e7f592a11a58bf94d Mon Sep 17 00:00:00 2001 From: Andrew Davis Date: Fri, 25 Mar 2022 13:41:49 -0500 Subject: meta-ti-bsp: add SoC families for the J7 SoCs This allows us to be more specific around what SoCs we support and lets us add features based on the SoC family not just at the EVM or whole J7family level. Signed-off-by: Andrew Davis Tested-by: Denys Dmytriyenko Signed-off-by: Ryan Eatmon --- meta-ti-bsp/conf/machine/include/j7200.inc | 2 ++ meta-ti-bsp/conf/machine/include/j721e.inc | 4 ++++ meta-ti-bsp/conf/machine/include/j721s2.inc | 2 ++ meta-ti-bsp/conf/machine/j7200-evm.conf | 2 +- meta-ti-bsp/conf/machine/j721e-evm.conf | 4 +--- meta-ti-bsp/conf/machine/j721s2-evm.conf | 2 +- 6 files changed, 11 insertions(+), 5 deletions(-) create mode 100644 meta-ti-bsp/conf/machine/include/j7200.inc create mode 100644 meta-ti-bsp/conf/machine/include/j721e.inc create mode 100644 meta-ti-bsp/conf/machine/include/j721s2.inc (limited to 'meta-ti-bsp/conf') diff --git a/meta-ti-bsp/conf/machine/include/j7200.inc b/meta-ti-bsp/conf/machine/include/j7200.inc new file mode 100644 index 00000000..ce88567c --- /dev/null +++ b/meta-ti-bsp/conf/machine/include/j7200.inc @@ -0,0 +1,2 @@ +require conf/machine/include/j7.inc +SOC_FAMILY:append = ":j7200" diff --git a/meta-ti-bsp/conf/machine/include/j721e.inc b/meta-ti-bsp/conf/machine/include/j721e.inc new file mode 100644 index 00000000..d965327c --- /dev/null +++ b/meta-ti-bsp/conf/machine/include/j721e.inc @@ -0,0 +1,4 @@ +require conf/machine/include/j7.inc +SOC_FAMILY:append = ":j721e" + +MACHINE_FEATURES += "gpu" diff --git a/meta-ti-bsp/conf/machine/include/j721s2.inc b/meta-ti-bsp/conf/machine/include/j721s2.inc new file mode 100644 index 00000000..113f86c4 --- /dev/null +++ b/meta-ti-bsp/conf/machine/include/j721s2.inc @@ -0,0 +1,2 @@ +require conf/machine/include/j7.inc +SOC_FAMILY:append = ":j721s2" diff --git a/meta-ti-bsp/conf/machine/j7200-evm.conf b/meta-ti-bsp/conf/machine/j7200-evm.conf index 2565c90c..175d30f8 100644 --- a/meta-ti-bsp/conf/machine/j7200-evm.conf +++ b/meta-ti-bsp/conf/machine/j7200-evm.conf @@ -2,7 +2,7 @@ #@NAME: J7200 EVM #@DESCRIPTION: Machine configuration for the TI J7200 EVM -require conf/machine/include/j7.inc +require conf/machine/include/j7200.inc SERIAL_CONSOLES = "115200;ttyS2 115200;ttyS3" SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}" diff --git a/meta-ti-bsp/conf/machine/j721e-evm.conf b/meta-ti-bsp/conf/machine/j721e-evm.conf index 12d4fecb..fe28e6f5 100644 --- a/meta-ti-bsp/conf/machine/j721e-evm.conf +++ b/meta-ti-bsp/conf/machine/j721e-evm.conf @@ -2,9 +2,7 @@ #@NAME: J721e EVM #@DESCRIPTION: Machine configuration for the TI J721e EVM -require conf/machine/include/j7.inc - -MACHINE_FEATURES += "gpu" +require conf/machine/include/j721e.inc SERIAL_CONSOLES = "115200;ttyS2 115200;ttyS3" SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}" diff --git a/meta-ti-bsp/conf/machine/j721s2-evm.conf b/meta-ti-bsp/conf/machine/j721s2-evm.conf index 82fd33da..a2c15f74 100644 --- a/meta-ti-bsp/conf/machine/j721s2-evm.conf +++ b/meta-ti-bsp/conf/machine/j721s2-evm.conf @@ -2,7 +2,7 @@ #@NAME: J721S2 EVM #@DESCRIPTION: Machine configuration for the TI J721S2 EVM -require conf/machine/include/j7.inc +require conf/machine/include/j721s2.inc SERIAL_CONSOLES = "115200;ttyS10" SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}" -- cgit v1.2.3-54-g00ecf