[meta-freescale] [PATCH] Migrate from SOC_FAMILY to MACHINEOVERRIDES

C.r. Guo chunrong.guo at nxp.com
Sun Dec 16 22:18:27 PST 2018


From: Chunrong Guo <chunrong.guo at nxp.com>

MACHINEOVERRIDES way is more straightforward than SOC_FAMILY, so migrate from
SOC_FAMILY to MACHINEOVERRIDES for NXP QorIQ PPC targets.

Signed-off-by: Chunrong Guo <chunrong.guo at nxp.com>
---
 conf/machine/p1020rdb.conf | 2 +-
 conf/machine/p2041rdb.conf | 2 +-
 conf/machine/p3041ds.conf  | 2 +-
 conf/machine/p4080ds.conf  | 2 +-
 conf/machine/p5040ds.conf  | 2 +-
 conf/machine/t1024rdb.conf | 2 +-
 conf/machine/t2080rdb.conf | 2 +-
 conf/machine/t4240rdb.conf | 2 +-
 8 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/conf/machine/p1020rdb.conf b/conf/machine/p1020rdb.conf
index b09bf17..50edba7 100644
--- a/conf/machine/p1020rdb.conf
+++ b/conf/machine/p1020rdb.conf
@@ -7,7 +7,7 @@
 
 require conf/machine/include/e500v2.inc
 
-SOC_FAMILY = "p1020"
+MACHINEOVERRIDES =. "p1020"
 BOOTFORMAT_CONFIG = "config_sram_p1022ds.dat"
 
 UBOOT_CONFIG ??= "nand sdcard spi nor"
diff --git a/conf/machine/p2041rdb.conf b/conf/machine/p2041rdb.conf
index 9a795fe..102cc8d 100644
--- a/conf/machine/p2041rdb.conf
+++ b/conf/machine/p2041rdb.conf
@@ -7,7 +7,7 @@
 
 require conf/machine/include/e500mc.inc
 
-SOC_FAMILY = "p2041"
+MACHINEOVERRIDES =. "p2041"
 
 UBOOT_CONFIG ??= "nand secure-boot sdcard spi nor"
 UBOOT_CONFIG[nor] = "P2041RDB_config"
diff --git a/conf/machine/p3041ds.conf b/conf/machine/p3041ds.conf
index 98af31b..c7ce469 100644
--- a/conf/machine/p3041ds.conf
+++ b/conf/machine/p3041ds.conf
@@ -7,7 +7,7 @@
 
 require conf/machine/include/e500mc.inc
 
-SOC_FAMILY = "p3041"
+MACHINEOVERRIDES =. "p3041"
 
 UBOOT_CONFIG ??= "nand secure-boot sdcard spi nor"
 UBOOT_CONFIG[nor] = "P3041DS_config"
diff --git a/conf/machine/p4080ds.conf b/conf/machine/p4080ds.conf
index 84eb4ce..23a7816 100644
--- a/conf/machine/p4080ds.conf
+++ b/conf/machine/p4080ds.conf
@@ -7,7 +7,7 @@
 
 require conf/machine/include/e500mc.inc
 
-SOC_FAMILY = "p4080"
+MACHINEOVERRIDES =. "p4080"
 
 UBOOT_CONFIG ??= "secure-boot sdcard spi nor"
 UBOOT_CONFIG[nor] = "P4080DS_config"
diff --git a/conf/machine/p5040ds.conf b/conf/machine/p5040ds.conf
index 7c36eae..af581f4 100644
--- a/conf/machine/p5040ds.conf
+++ b/conf/machine/p5040ds.conf
@@ -7,7 +7,7 @@
 
 require conf/machine/include/e5500.inc
 
-SOC_FAMILY = "p5040"
+MACHINEOVERRIDES =. "p5040"
 
 UBOOT_CONFIG ??= "nand secure-boot sdcard spi nor"
 UBOOT_CONFIG[nor] = "P5040DS_config"
diff --git a/conf/machine/t1024rdb.conf b/conf/machine/t1024rdb.conf
index 297c949..616ce3f 100644
--- a/conf/machine/t1024rdb.conf
+++ b/conf/machine/t1024rdb.conf
@@ -7,7 +7,7 @@
 
 require conf/machine/include/e5500.inc
 
-SOC_FAMILY = "t1:t1024"
+MACHINEOVERRIDES =. "t1:t1024"
 
 UBOOT_CONFIG ??= "nand sdcard spi secure-boot nor"
 UBOOT_CONFIG[nor] = "T1024RDB_config"
diff --git a/conf/machine/t2080rdb.conf b/conf/machine/t2080rdb.conf
index 66e893a..b3e4528 100644
--- a/conf/machine/t2080rdb.conf
+++ b/conf/machine/t2080rdb.conf
@@ -7,7 +7,7 @@
 
 require conf/machine/include/e6500.inc
 
-SOC_FAMILY = "t2:t2080"
+MACHINEOVERRIDES =. "t2:t2080"
 
 UBOOT_CONFIG ??= "sdcard spi nand srio-pcie-boot secure-boot nor"
 UBOOT_CONFIG[nor] = "T2080RDB_config"
diff --git a/conf/machine/t4240rdb.conf b/conf/machine/t4240rdb.conf
index 160220f..f72a490 100644
--- a/conf/machine/t4240rdb.conf
+++ b/conf/machine/t4240rdb.conf
@@ -7,7 +7,7 @@
 
 require conf/machine/include/e6500.inc
 
-SOC_FAMILY = "t4:t4240"
+MACHINEOVERRIDES =. "t4:t4240"
 
 UBOOT_CONFIG ??= "nor"
 UBOOT_CONFIG[nor] = "T4240RDB_config"
-- 
2.7.4



More information about the meta-freescale mailing list