diff mbox series

[meta-ti,dunfell,2/3] meta-ti: Add SoC families for the J7 SoCs

Message ID 20220831175315.15942-3-afd@ti.com
State Rejected
Delegated to: Ryan Eatmon
Headers show
Series J7 name backports from master/kirkstone | expand

Commit Message

Andrew Davis Aug. 31, 2022, 5:53 p.m. UTC
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 J7 family level.

Signed-off-by: Andrew Davis <afd@ti.com>
---
 conf/machine/include/j7200.inc  | 2 ++
 conf/machine/include/j721e.inc  | 4 ++++
 conf/machine/include/j721s2.inc | 2 ++
 conf/machine/j7200-evm.conf     | 2 +-
 conf/machine/j721e-evm.conf     | 4 +---
 conf/machine/j721s2-evm.conf    | 2 +-
 6 files changed, 11 insertions(+), 5 deletions(-)
 create mode 100644 conf/machine/include/j7200.inc
 create mode 100644 conf/machine/include/j721e.inc
 create mode 100644 conf/machine/include/j721s2.inc
diff mbox series

Patch

diff --git a/conf/machine/include/j7200.inc b/conf/machine/include/j7200.inc
new file mode 100644
index 00000000..ce88567c
--- /dev/null
+++ b/conf/machine/include/j7200.inc
@@ -0,0 +1,2 @@ 
+require conf/machine/include/j7.inc
+SOC_FAMILY:append = ":j7200"
diff --git a/conf/machine/include/j721e.inc b/conf/machine/include/j721e.inc
new file mode 100644
index 00000000..d965327c
--- /dev/null
+++ b/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/conf/machine/include/j721s2.inc b/conf/machine/include/j721s2.inc
new file mode 100644
index 00000000..113f86c4
--- /dev/null
+++ b/conf/machine/include/j721s2.inc
@@ -0,0 +1,2 @@ 
+require conf/machine/include/j7.inc
+SOC_FAMILY:append = ":j721s2"
diff --git a/conf/machine/j7200-evm.conf b/conf/machine/j7200-evm.conf
index c8a03a7b..303ec182 100644
--- a/conf/machine/j7200-evm.conf
+++ b/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/conf/machine/j721e-evm.conf b/conf/machine/j721e-evm.conf
index 8598c672..030edc73 100644
--- a/conf/machine/j721e-evm.conf
+++ b/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/conf/machine/j721s2-evm.conf b/conf/machine/j721s2-evm.conf
index ba5e8def..3a28dc61 100644
--- a/conf/machine/j721s2-evm.conf
+++ b/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
 
 MACHINE_FEATURES += "gpu"