Patchwork conf/machines: update to use SOC_FAMILY

login
register
mail settings
Submitter Matthew McClintock
Date Feb. 18, 2013, 8:48 p.m.
Message ID <1361220499-24644-1-git-send-email-msm@freescale.com>
Download mbox | patch
Permalink /patch/44803/
State Accepted
Delegated to: Matthew McClintock
Headers show

Comments

Matthew McClintock - Feb. 18, 2013, 8:48 p.m.
Signed-off-by: Matthew McClintock <msm@freescale.com>
---
 conf/machine/b4420qds-64b.conf |    3 +++
 conf/machine/b4420qds.conf     |    2 ++
 conf/machine/b4860qds-64b.conf |    2 ++
 conf/machine/b4860qds.conf     |    2 ++
 conf/machine/mpc8536ds.conf    |    2 ++
 conf/machine/mpc8544ds.conf    |    2 ++
 conf/machine/mpc8548cds.conf   |    2 ++
 conf/machine/mpc8572ds.conf    |    2 ++
 conf/machine/p1010rdb.conf     |    2 ++
 conf/machine/p1020mbg.conf     |    2 ++
 conf/machine/p1020rdb.conf     |    2 ++
 conf/machine/p1020utm.conf     |    2 ++
 conf/machine/p1021rdb.conf     |    3 +++
 conf/machine/p1022ds.conf      |    2 ++
 conf/machine/p1023rds.conf     |    2 ++
 conf/machine/p1024rdb.conf     |    2 ++
 conf/machine/p1025rdb.conf     |    3 ++-
 conf/machine/p2020ds.conf      |    4 +++-
 conf/machine/p2020rdb.conf     |    2 ++
 conf/machine/p2041rdb.conf     |    2 ++
 conf/machine/p3041ds.conf      |    2 ++
 conf/machine/p4080ds.conf      |    2 ++
 conf/machine/p5020ds-64b.conf  |    2 ++
 conf/machine/p5020ds.conf      |    2 ++
 conf/machine/p5040ds-64b.conf  |    2 ++
 conf/machine/p5040ds.conf      |    2 ++
 conf/machine/t4160qds-64b.conf |    2 ++
 conf/machine/t4160qds.conf     |    2 ++
 conf/machine/t4240qds-64b.conf |    2 ++
 conf/machine/t4240qds.conf     |    2 ++
 30 files changed, 63 insertions(+), 2 deletions(-)
Otavio Salvador - Feb. 18, 2013, 9:12 p.m.
Hi Matt,

On Mon, Feb 18, 2013 at 5:48 PM, Matthew McClintock <msm@freescale.com> wrote:
> Signed-off-by: Matthew McClintock <msm@freescale.com>

Please use --subject-prefix='meta-fsl-ppc][PATCH' in git-format-patch
call so it is easy to filter it and know for which layer the patch is
target to.

Regards,
McClintock Matthew-B29882 - Feb. 18, 2013, 9:27 p.m.
On Monday, February 18, 2013, Otavio Salvador <otavio@ossystems.com.br<mailto:otavio@ossystems.com.br>> wrote:
> Hi Matt,
>
> On Mon, Feb 18, 2013 at 5:48 PM, Matthew McClintock <msm@freescale.com<mailto:msm@freescale.com>> wrote:
>> Signed-off-by: Matthew McClintock <msm@freescale.com<mailto:msm@freescale.com>>
>
> Please use --subject-prefix='meta-fsl-ppc][PATCH' in git-format-patch
> call so it is easy to filter it and know for which layer the patch is
> target to.

Yea I realized I forgot this. Will do this in the future

-M

>
> Regards,
>
> --
> Otavio Salvador                             O.S. Systems
> E-mail: otavio@ossystems.com.br<mailto:otavio@ossystems.com.br>  http://www.ossystems.com.br
> Mobile: +55 53 9981-7854              http://projetos.ossystems.com.br
> _______________________________________________
> meta-freescale mailing list
> meta-freescale@yoctoproject.org<mailto:meta-freescale@yoctoproject.org>
> https://lists.yoctoproject.org/listinfo/meta-freescale
>
McClintock Matthew-B29882 - Feb. 19, 2013, 4:36 p.m.
On Mon, Feb 18, 2013 at 2:48 PM, Matthew McClintock <msm@freescale.com> wrote:
> Signed-off-by: Matthew McClintock <msm@freescale.com>

Applied to master.

-M

> ---
>  conf/machine/b4420qds-64b.conf |    3 +++
>  conf/machine/b4420qds.conf     |    2 ++
>  conf/machine/b4860qds-64b.conf |    2 ++
>  conf/machine/b4860qds.conf     |    2 ++
>  conf/machine/mpc8536ds.conf    |    2 ++
>  conf/machine/mpc8544ds.conf    |    2 ++
>  conf/machine/mpc8548cds.conf   |    2 ++
>  conf/machine/mpc8572ds.conf    |    2 ++
>  conf/machine/p1010rdb.conf     |    2 ++
>  conf/machine/p1020mbg.conf     |    2 ++
>  conf/machine/p1020rdb.conf     |    2 ++
>  conf/machine/p1020utm.conf     |    2 ++
>  conf/machine/p1021rdb.conf     |    3 +++
>  conf/machine/p1022ds.conf      |    2 ++
>  conf/machine/p1023rds.conf     |    2 ++
>  conf/machine/p1024rdb.conf     |    2 ++
>  conf/machine/p1025rdb.conf     |    3 ++-
>  conf/machine/p2020ds.conf      |    4 +++-
>  conf/machine/p2020rdb.conf     |    2 ++
>  conf/machine/p2041rdb.conf     |    2 ++
>  conf/machine/p3041ds.conf      |    2 ++
>  conf/machine/p4080ds.conf      |    2 ++
>  conf/machine/p5020ds-64b.conf  |    2 ++
>  conf/machine/p5020ds.conf      |    2 ++
>  conf/machine/p5040ds-64b.conf  |    2 ++
>  conf/machine/p5040ds.conf      |    2 ++
>  conf/machine/t4160qds-64b.conf |    2 ++
>  conf/machine/t4160qds.conf     |    2 ++
>  conf/machine/t4240qds-64b.conf |    2 ++
>  conf/machine/t4240qds.conf     |    2 ++
>  30 files changed, 63 insertions(+), 2 deletions(-)
>
> diff --git a/conf/machine/b4420qds-64b.conf b/conf/machine/b4420qds-64b.conf
> index 10d162e..4e8ba85 100644
> --- a/conf/machine/b4420qds-64b.conf
> +++ b/conf/machine/b4420qds-64b.conf
> @@ -2,6 +2,9 @@
>  #@DESCRIPTION: Machine configuration for running B4420QDS in 64-bit mode
>
>  require e6500-64b.inc
> +require conf/machine/include/soc-family.inc
> +
> +SOC_FAMILY = "b4420"
>
>  # TODO: fix 32bit build of u-boot
>  UBOOT_MACHINES ?= "B4420QDS"
> diff --git a/conf/machine/b4420qds.conf b/conf/machine/b4420qds.conf
> index e4527d7..233d0e7 100644
> --- a/conf/machine/b4420qds.conf
> +++ b/conf/machine/b4420qds.conf
> @@ -2,7 +2,9 @@
>  #@DESCRIPTION: Machine configuration for running B4420QDS in 32-bit mode
>
>  require e6500.inc
> +require conf/machine/include/soc-family.inc
>
> +SOC_FAMILY = "b4420"
>  UBOOT_MACHINES ?= "B4420QDS"
>  KERNEL_DEVICETREE = "${S}/arch/powerpc/boot/dts/b4420qds.dts"
>  KERNEL_DEFCONFIG = "${S}/arch/powerpc/configs/85xx/e6500rev1_defconfig"
> diff --git a/conf/machine/b4860qds-64b.conf b/conf/machine/b4860qds-64b.conf
> index 0bc1941..1d878ae 100644
> --- a/conf/machine/b4860qds-64b.conf
> +++ b/conf/machine/b4860qds-64b.conf
> @@ -2,7 +2,9 @@
>  #@DESCRIPTION: Machine configuration for running B4860QDS in 64-bit mode
>
>  require e6500-64b.inc
> +require conf/machine/include/soc-family.inc
>
> +SOC_FAMILY = "b4860"
>  # TODO: fix 32bit build of u-boot
>  UBOOT_MACHINES ?= "B4860QDS"
>  KERNEL_DEVICETREE = "${S}/arch/powerpc/boot/dts/b4860qds.dts \
> diff --git a/conf/machine/b4860qds.conf b/conf/machine/b4860qds.conf
> index 0da0910..4cdbd22 100644
> --- a/conf/machine/b4860qds.conf
> +++ b/conf/machine/b4860qds.conf
> @@ -2,7 +2,9 @@
>  #@DESCRIPTION: Machine configuration for running B4860QDS in 32-bit mode
>
>  require e6500.inc
> +require conf/machine/include/soc-family.inc
>
> +SOC_FAMILY = "b4860"
>  UBOOT_MACHINES ?= "B4860QDS"
>  KERNEL_DEVICETREE = "${S}/arch/powerpc/boot/dts/b4860qds.dts \
>         ${S}/arch/powerpc/boot/dts/b4860qds-usdpaa.dts"
> diff --git a/conf/machine/mpc8536ds.conf b/conf/machine/mpc8536ds.conf
> index babca86..e515566 100644
> --- a/conf/machine/mpc8536ds.conf
> +++ b/conf/machine/mpc8536ds.conf
> @@ -3,7 +3,9 @@
>  #@DESCRIPTION: Machine configuration for the Freescale MPC8536DS
>
>  require e500v2.inc
> +require conf/machine/include/soc-family.inc
>
> +SOC_FAMILY = "mpc8536"
>  BOOTFORMAT_CONFIG = "config_ddr2_512m_mpc8536ds_667M.dat"
>  UBOOT_MACHINES ?= "MPC8536DS MPC8536DS_36BIT MPC8536DS_NAND MPC8536DS_SDCARD MPC8536DS_SPIFLASH"
>  KERNEL_DEVICETREE = "${S}/arch/powerpc/boot/dts/mpc8536ds.dts \
> diff --git a/conf/machine/mpc8544ds.conf b/conf/machine/mpc8544ds.conf
> index 89e1d89..2cacf35 100644
> --- a/conf/machine/mpc8544ds.conf
> +++ b/conf/machine/mpc8544ds.conf
> @@ -3,7 +3,9 @@
>  #@DESCRIPTION: Machine configuration for the Freescale MPC8544DS
>
>  require e500v2.inc
> +require conf/machine/include/soc-family.inc
>
> +SOC_FAMILY = "mpc8544"
>  UBOOT_MACHINES ?= "MPC8544DS"
>  KERNEL_DEVICETREE = "${S}/arch/powerpc/boot/dts/mpc8544ds.dts"
>  KERNEL_DEFCONFIG = "${S}/arch/powerpc/configs/mpc85xx_defconfig"
> diff --git a/conf/machine/mpc8548cds.conf b/conf/machine/mpc8548cds.conf
> index 631c4cb..b3a91d9 100644
> --- a/conf/machine/mpc8548cds.conf
> +++ b/conf/machine/mpc8548cds.conf
> @@ -3,7 +3,9 @@
>  #@DESCRIPTION: Machine configuration for the Freescale MPC8548CDS
>
>  require e500v2.inc
> +require conf/machine/include/soc-family.inc
>
> +SOC_FAMILY = "mpc8548"
>  UBOOT_MACHINES ?= "MPC8548CDS MPC8548CDS_36BIT"
>  KERNEL_DEVICETREE = "${S}/arch/powerpc/boot/dts/mpc8548cds_32b.dts \
>                      ${S}/arch/powerpc/boot/dts/mpc8548cds_36b.dts"
> diff --git a/conf/machine/mpc8572ds.conf b/conf/machine/mpc8572ds.conf
> index 1c06b53..7e598f0 100644
> --- a/conf/machine/mpc8572ds.conf
> +++ b/conf/machine/mpc8572ds.conf
> @@ -2,7 +2,9 @@
>  #@DESCRIPTION: Machine configuration for running
>
>  require e500v2.inc
> +require conf/machine/include/soc-family.inc
>
> +SOC_FAMILY = "mpc8572"
>  UBOOT_MACHINES ?= "MPC8572DS MPC8572DS_36BIT MPC8572DS_NAND"
>  KERNEL_DEVICETREE = "${S}/arch/powerpc/boot/dts/mpc8572ds.dts \
>                      ${S}/arch/powerpc/boot/dts/mpc8572ds_36b.dts"
> diff --git a/conf/machine/p1010rdb.conf b/conf/machine/p1010rdb.conf
> index 9752cc4..bdca3c8 100644
> --- a/conf/machine/p1010rdb.conf
> +++ b/conf/machine/p1010rdb.conf
> @@ -3,7 +3,9 @@
>  #@DESCRIPTION: Machine configuration for the Freescale P1010RDB
>
>  require e500v2.inc
> +require conf/machine/include/soc-family.inc
>
> +SOC_FAMILY = "p1010"
>  UBOOT_MACHINES ?= "P1010RDB_NAND P1010RDB_NOR"
>  KERNEL_DEVICETREE = "${S}/arch/powerpc/boot/dts/p1010rdb.dts"
>  KERNEL_DEFCONFIG = "${S}/arch/powerpc/configs/mpc85xx_defconfig"
> diff --git a/conf/machine/p1020mbg.conf b/conf/machine/p1020mbg.conf
> index 1459698..b6182bf 100644
> --- a/conf/machine/p1020mbg.conf
> +++ b/conf/machine/p1020mbg.conf
> @@ -3,7 +3,9 @@
>  #@DESCRIPTION: Machine configuration for the Freescale P1020MBG
>
>  require e500v2.inc
> +require conf/machine/include/soc-family.inc
>
> +SOC_FAMILY = "p1020"
>  BOOTFORMAT_CONFIG = "config_ddr3_1gb_p1_p2_rdb_pc_800M.dat"
>  UBOOT_MACHINES ?= "P1020MBG-PC P1020MBG-PC_SDCARD P1020MBG-PC_36BIT P1020MBG-PC_36BIT_SDCARD"
>  KERNEL_DEVICETREE = "${S}/arch/powerpc/boot/dts/p1020mbg-pc_32b.dts"
> diff --git a/conf/machine/p1020rdb.conf b/conf/machine/p1020rdb.conf
> index 1a0e672..3f4e819 100644
> --- a/conf/machine/p1020rdb.conf
> +++ b/conf/machine/p1020rdb.conf
> @@ -2,7 +2,9 @@
>  #@DESCRIPTION: Machine configuration for running
>
>  require e500v2.inc
> +require conf/machine/include/soc-family.inc
>
> +SOC_FAMILY = "p1020"
>  BOOTFORMAT_CONFIG = "config_ddr3_1gb_p1_p2_rdb_pc_800M.dat"
>  UBOOT_MACHINES ?= " P1020RDB-PC P1020RDB-PC_SPIFLASH P1020RDB-PC_NAND P1020RDB-PC_SDCARD P1020RDB-PC_36BIT P1020RDB-PC_36BIT_SPIFLASH P1020RDB-PC_36BIT_NAND P1020RDB-PC_36BIT_SDCARD"
>
> diff --git a/conf/machine/p1020utm.conf b/conf/machine/p1020utm.conf
> index 26ff060..5b8ea27 100644
> --- a/conf/machine/p1020utm.conf
> +++ b/conf/machine/p1020utm.conf
> @@ -3,7 +3,9 @@
>  #@DESCRIPTION: Machine configuration for the Freescale P1020UTM
>
>  require e500v2.inc
> +require conf/machine/include/soc-family.inc
>
> +SOC_FAMILY = "p1020"
>  BOOTFORMAT_CONFIG = "config_ddr3_1gb_p1_p2_rdb_pc_800M.dat"
>  UBOOT_MACHINES ?= "P1020UTM-PC P1020UTM-PC_SDCARD P1020UTM-PC_36BIT P1020UTM-PC_36BIT_SDCARD"
>  KERNEL_DEVICETREE = "${S}/arch/powerpc/boot/dts/p1020utm-pc_32b.dts"
> diff --git a/conf/machine/p1021rdb.conf b/conf/machine/p1021rdb.conf
> index 1a42a94..ad7e54f 100644
> --- a/conf/machine/p1021rdb.conf
> +++ b/conf/machine/p1021rdb.conf
> @@ -3,6 +3,9 @@
>  #@DESCRIPTION: Machine configuration for the Freescale P1021RDB
>
>  require e500v2.inc
> +require conf/machine/include/soc-family.inc
> +
> +SOC_FAMILY = "p1021"
>  BOOTFORMAT_CONFIG = "config_ddr3_1gb_p1_p2_rdb_pc_800M.dat"
>  UBOOT_MACHINES ?= "P1021RDB-PC P1021RDB-PC_NAND P1021RDB-PC_SDCARD P1021RDB-PC_SPIFLASH P1021RDB-PC_36BIT P1021RDB-PC_36BIT_SPIFLASH P1021RDB-PC_36BIT_NAND P1021RDB-PC_36BIT_SDCARD"
>  KERNEL_DEVICETREE = "${S}/arch/powerpc/boot/dts/p1021rdb-pc_32b.dts"
> diff --git a/conf/machine/p1022ds.conf b/conf/machine/p1022ds.conf
> index 6445bdc..20389a2 100644
> --- a/conf/machine/p1022ds.conf
> +++ b/conf/machine/p1022ds.conf
> @@ -2,7 +2,9 @@
>  #@DESCRIPTION: Machine configuration for running
>
>  require e500v2.inc
> +require conf/machine/include/soc-family.inc
>
> +SOC_FAMILY = "p1022"
>  BOOTFORMAT_CONFIG = "config_ddr3_2gb_p1022ds.dat"
>  UBOOT_MACHINES ?= "P1022DS P1022DS_NAND P1022DS_SPIFLASH P1022DS_SDCARD P1022DS_36BIT P1022DS_36BIT_SPIFLASH P1022DS_36BIT_NAND P1022DS_36BIT_SDCARD"
>  KERNEL_DEVICETREE = "${S}/arch/powerpc/boot/dts/p1022ds_32b.dts"
> diff --git a/conf/machine/p1023rds.conf b/conf/machine/p1023rds.conf
> index 956f321..189c5c0 100644
> --- a/conf/machine/p1023rds.conf
> +++ b/conf/machine/p1023rds.conf
> @@ -2,7 +2,9 @@
>  #@DESCRIPTION: Machine configuration for running
>
>  require e500v2.inc
> +require conf/machine/include/soc-family.inc
>
> +SOC_FAMILY = "p1023"
>  UBOOT_MACHINES ?= "P1023RDS P1023RDS_NAND"
>  KERNEL_DEVICETREE = "${S}/arch/powerpc/boot/dts/p1023rds.dts"
>  KERNEL_DEFCONFIG = "${S}/arch/powerpc/configs/85xx/p1023rds_defconfig"
> diff --git a/conf/machine/p1024rdb.conf b/conf/machine/p1024rdb.conf
> index 2e47e4d..58c0865 100644
> --- a/conf/machine/p1024rdb.conf
> +++ b/conf/machine/p1024rdb.conf
> @@ -3,7 +3,9 @@
>  #@DESCRIPTION: Machine configuration for the Freescale P1024RDB
>
>  require e500v2.inc
> +require conf/machine/include/soc-family.inc
>
> +SOC_FAMILY = "p1024"
>  BOOTFORMAT_CONFIG = "config_ddr3_1gb_p1_p2_rdb_pc_667M.dat"
>  UBOOT_MACHINES ?= "P1024RDB P1024RDB_36BIT P1024RDB_NAND P1024RDB_SDCARD P1024RDB_SPIFLASH"
>  KERNEL_DEVICETREE = "${S}/arch/powerpc/boot/dts/p1024rdb_32b.dts"
> diff --git a/conf/machine/p1025rdb.conf b/conf/machine/p1025rdb.conf
> index c625833..a7071cb 100644
> --- a/conf/machine/p1025rdb.conf
> +++ b/conf/machine/p1025rdb.conf
> @@ -3,8 +3,9 @@
>  #@DESCRIPTION: Machine configuration for the Freescale P1025RDB
>
>  require e500v2.inc
> +require conf/machine/include/soc-family.inc
>
> -
> +SOC_FAMILY = "p1025"
>  BOOTFORMAT_CONFIG = "config_ddr3_1gb_p1_p2_rdb_pc_667M.dat"
>  UBOOT_MACHINES ?= "P1025RDB P1025RDB_36BIT P1025RDB_NAND P1025RDB_SDCARD P1025RDB_SPIFLASH"
>  KERNEL_DEVICETREE = "${S}/arch/powerpc/boot/dts/p1025rdb_32b.dts"
> diff --git a/conf/machine/p2020ds.conf b/conf/machine/p2020ds.conf
> index dd2c9d1..21f62de 100644
> --- a/conf/machine/p2020ds.conf
> +++ b/conf/machine/p2020ds.conf
> @@ -2,8 +2,10 @@
>  #@DESCRIPTION: Machine configuration for running
>
>  require e500v2.inc
> -BOOTFORMAT_CONFIG = "config_sram_p2020ds.dat"
> +require conf/machine/include/soc-family.inc
>
> +SOC_FAMILY = "p2020"
> +BOOTFORMAT_CONFIG = "config_sram_p2020ds.dat"
>  UBOOT_MACHINES ?= "P2020DS P2020DS_36BIT P2020DS_DDR2 P2020DS_SDCARD P2020DS_SPIFLASH"
>  KERNEL_DEVICETREE = "${S}/arch/powerpc/boot/dts/p2020ds.dts"
>  KERNEL_DEFCONFIG = "${S}/arch/powerpc/configs/mpc85xx_smp_defconfig"
> diff --git a/conf/machine/p2020rdb.conf b/conf/machine/p2020rdb.conf
> index 7c0f573..67856b3 100644
> --- a/conf/machine/p2020rdb.conf
> +++ b/conf/machine/p2020rdb.conf
> @@ -3,7 +3,9 @@
>  #@DESCRIPTION: Machine configuration for the Freescale P2020RDB
>
>  require e500v2.inc
> +require conf/machine/include/soc-family.inc
>
> +SOC_FAMILY = "p2020"
>  BOOTFORMAT_CONFIG = "config_ddr3_1gb_64bit_p2020rdb_pc.dat"
>  UBOOT_MACHINES ?= " P2020RDB-PC P2020RDB-PC_NAND P2020RDB-PC_SDCARD P2020RDB-PC_SPIFLASH P2020RDB-PC_36BIT P2020RDB-PC_36BIT_SPIFLASH P2020RDB-PC_36BIT_NAND P2020RDB-PC_36BIT_SDCARD"
>  KERNEL_DEVICETREE = "${S}/arch/powerpc/boot/dts/p2020rdb-pc_32b.dts"
> diff --git a/conf/machine/p2041rdb.conf b/conf/machine/p2041rdb.conf
> index 7cb449b..ea1594f 100644
> --- a/conf/machine/p2041rdb.conf
> +++ b/conf/machine/p2041rdb.conf
> @@ -2,7 +2,9 @@
>  #@DESCRIPTION: Machine configuration for running
>
>  require e500mc.inc
> +require conf/machine/include/soc-family.inc
>
> +SOC_FAMILY = "p2041"
>  UBOOT_MACHINES ?= "P2041RDB P2041RDB_NAND P2041RDB_SECURE_BOOT P2041RDB_SDCARD P2041RDB_SPIFLASH"
>  KERNEL_DEVICETREE = "${S}/arch/powerpc/boot/dts/p2041rdb.dts \
>         ${S}/arch/powerpc/boot/dts/p2041rdb-usdpaa.dts"
> diff --git a/conf/machine/p3041ds.conf b/conf/machine/p3041ds.conf
> index e4569aa..bf03649 100644
> --- a/conf/machine/p3041ds.conf
> +++ b/conf/machine/p3041ds.conf
> @@ -2,7 +2,9 @@
>  #@DESCRIPTION: Machine configuration for running
>
>  require e500mc.inc
> +require conf/machine/include/soc-family.inc
>
> +SOC_FAMILY = "p3041"
>  UBOOT_MACHINES ?= "P3041DS P3041DS_NAND P3041DS_SECURE_BOOT P3041DS_SDCARD P3041DS_SPIFLASH"
>  KERNEL_DEVICETREE = "${S}/arch/powerpc/boot/dts/p3041ds.dts \
>         ${S}/arch/powerpc/boot/dts/p3041ds-usdpaa.dts"
> diff --git a/conf/machine/p4080ds.conf b/conf/machine/p4080ds.conf
> index 00a4e84..332a39f 100644
> --- a/conf/machine/p4080ds.conf
> +++ b/conf/machine/p4080ds.conf
> @@ -2,7 +2,9 @@
>  #@DESCRIPTION: Machine configuration for running
>
>  require e500mc.inc
> +require conf/machine/include/soc-family.inc
>
> +SOC_FAMILY = "p4080"
>  UBOOT_MACHINES ?= "P4080DS P4080DS_SECURE_BOOT P4080DS_SDCARD P4080DS_SPIFLASH "
>  KERNEL_DEVICETREE = "${S}/arch/powerpc/boot/dts/p4080ds.dts \
>         ${S}/arch/powerpc/boot/dts/p4080ds-usdpaa.dts"
> diff --git a/conf/machine/p5020ds-64b.conf b/conf/machine/p5020ds-64b.conf
> index 7273097..75be7fd 100644
> --- a/conf/machine/p5020ds-64b.conf
> +++ b/conf/machine/p5020ds-64b.conf
> @@ -2,7 +2,9 @@
>  #@DESCRIPTION: Machine configuration for running
>
>  require e5500-64b.inc
> +require conf/machine/include/soc-family.inc
>
> +SOC_FAMILY = "p5020"
>  # TODO: fix 32bit build of u-boot for p5020ds-64b
>  UBOOT_MACHINES ?= "P5020DS"
>  KERNEL_DEVICETREE = "${S}/arch/powerpc/boot/dts/p5020ds.dts \
> diff --git a/conf/machine/p5020ds.conf b/conf/machine/p5020ds.conf
> index eb1d73d..06b4f7c 100644
> --- a/conf/machine/p5020ds.conf
> +++ b/conf/machine/p5020ds.conf
> @@ -2,7 +2,9 @@
>  #@DESCRIPTION: Machine configuration for running
>
>  require e5500.inc
> +require conf/machine/include/soc-family.inc
>
> +SOC_FAMILY = "p5020"
>  UBOOT_MACHINES ?= "P5020DS P5020DS_NAND P5020DS_SECURE_BOOT P5020DS_SDCARD P5020DS_SPIFLASH "
>  KERNEL_DEVICETREE = "${S}/arch/powerpc/boot/dts/p5020ds.dts \
>         ${S}/arch/powerpc/boot/dts/p5020ds-usdpaa.dts"
> diff --git a/conf/machine/p5040ds-64b.conf b/conf/machine/p5040ds-64b.conf
> index 07ed3b2..68a5a32 100644
> --- a/conf/machine/p5040ds-64b.conf
> +++ b/conf/machine/p5040ds-64b.conf
> @@ -2,7 +2,9 @@
>  #@DESCRIPTION: Machine configuration for running
>
>  require e5500-64b.inc
> +require conf/machine/include/soc-family.inc
>
> +SOC_FAMILY = "p5040"
>  UBOOT_MACHINES ?= "P5040DS  P5040DS_NAND P5040DS_SECURE_BOOT P5040DS_SDCARD P5040DS_SPIFLASH"
>  KERNEL_DEVICETREE = "${S}/arch/powerpc/boot/dts/p5040ds.dts \
>         ${S}/arch/powerpc/boot/dts/p5040ds-usdpaa.dts"
> diff --git a/conf/machine/p5040ds.conf b/conf/machine/p5040ds.conf
> index bda7fac..e1db069 100644
> --- a/conf/machine/p5040ds.conf
> +++ b/conf/machine/p5040ds.conf
> @@ -2,7 +2,9 @@
>  #@DESCRIPTION: Machine configuration for running
>
>  require e5500.inc
> +require conf/machine/include/soc-family.inc
>
> +SOC_FAMILY = "p5040"
>  UBOOT_MACHINES ?= "P5040DS P5040DS_NAND P5040DS_SECURE_BOOT P5040DS_SDCARD P5040DS_SPIFLASH"
>  KERNEL_DEVICETREE = "${S}/arch/powerpc/boot/dts/p5040ds.dts \
>         ${S}/arch/powerpc/boot/dts/p5040ds-usdpaa.dts"
> diff --git a/conf/machine/t4160qds-64b.conf b/conf/machine/t4160qds-64b.conf
> index aa186d4..eceb065 100644
> --- a/conf/machine/t4160qds-64b.conf
> +++ b/conf/machine/t4160qds-64b.conf
> @@ -2,7 +2,9 @@
>  #@DESCRIPTION: Machine configuration for running T4160QDS in 64-bit mode
>
>  require e6500-64b.inc
> +require conf/machine/include/soc-family.inc
>
> +SOC_FAMILY = "t4160"
>  # TODO: fix 32bit build of u-boot
>  UBOOT_MACHINES ?= "T4160QDS"
>  KERNEL_DEVICETREE = "${S}/arch/powerpc/boot/dts/t4240qds.dts \
> diff --git a/conf/machine/t4160qds.conf b/conf/machine/t4160qds.conf
> index a8d6a7e..4ae03bc 100644
> --- a/conf/machine/t4160qds.conf
> +++ b/conf/machine/t4160qds.conf
> @@ -2,7 +2,9 @@
>  #@DESCRIPTION: Machine configuration for running T4160QDS in 32-bit mode
>
>  require e6500.inc
> +require conf/machine/include/soc-family.inc
>
> +SOC_FAMILY = "t4160"
>  UBOOT_MACHINES ?= "T4160QDS"
>  KERNEL_DEVICETREE = "${S}/arch/powerpc/boot/dts/t4240qds.dts \
>         ${S}/arch/powerpc/boot/dts/t4240qds-usdpaa.dts"
> diff --git a/conf/machine/t4240qds-64b.conf b/conf/machine/t4240qds-64b.conf
> index 7063f9e..8aae528 100644
> --- a/conf/machine/t4240qds-64b.conf
> +++ b/conf/machine/t4240qds-64b.conf
> @@ -2,7 +2,9 @@
>  #@DESCRIPTION: Machine configuration for running T4240QDS in 64-bit mode
>
>  require e6500-64b.inc
> +require conf/machine/include/soc-family.inc
>
> +SOC_FAMILY = "t4240"
>  # TODO: fix 32bit build of u-boot
>  UBOOT_MACHINES ?= "T4240QDS"
>  KERNEL_DEVICETREE = "${S}/arch/powerpc/boot/dts/t4240qds.dts \
> diff --git a/conf/machine/t4240qds.conf b/conf/machine/t4240qds.conf
> index 9cb3f82..4aa36a2 100644
> --- a/conf/machine/t4240qds.conf
> +++ b/conf/machine/t4240qds.conf
> @@ -2,7 +2,9 @@
>  #@DESCRIPTION: Machine configuration for running T4240QDS in 32-bit mode
>
>  require e6500.inc
> +require conf/machine/include/soc-family.inc
>
> +SOC_FAMILY = "t4240"
>  UBOOT_MACHINES ?= "T4240QDS"
>  KERNEL_DEVICETREE = "${S}/arch/powerpc/boot/dts/t4240qds.dts \
>         ${S}/arch/powerpc/boot/dts/t4240qds-usdpaa.dts"
> --
> 1.7.9.7
>
>
> _______________________________________________
> meta-freescale mailing list
> meta-freescale@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-freescale

Patch

diff --git a/conf/machine/b4420qds-64b.conf b/conf/machine/b4420qds-64b.conf
index 10d162e..4e8ba85 100644
--- a/conf/machine/b4420qds-64b.conf
+++ b/conf/machine/b4420qds-64b.conf
@@ -2,6 +2,9 @@ 
 #@DESCRIPTION: Machine configuration for running B4420QDS in 64-bit mode
 
 require e6500-64b.inc
+require conf/machine/include/soc-family.inc
+
+SOC_FAMILY = "b4420"
 
 # TODO: fix 32bit build of u-boot
 UBOOT_MACHINES ?= "B4420QDS"
diff --git a/conf/machine/b4420qds.conf b/conf/machine/b4420qds.conf
index e4527d7..233d0e7 100644
--- a/conf/machine/b4420qds.conf
+++ b/conf/machine/b4420qds.conf
@@ -2,7 +2,9 @@ 
 #@DESCRIPTION: Machine configuration for running B4420QDS in 32-bit mode
 
 require e6500.inc
+require conf/machine/include/soc-family.inc
 
+SOC_FAMILY = "b4420"
 UBOOT_MACHINES ?= "B4420QDS"
 KERNEL_DEVICETREE = "${S}/arch/powerpc/boot/dts/b4420qds.dts"
 KERNEL_DEFCONFIG = "${S}/arch/powerpc/configs/85xx/e6500rev1_defconfig"
diff --git a/conf/machine/b4860qds-64b.conf b/conf/machine/b4860qds-64b.conf
index 0bc1941..1d878ae 100644
--- a/conf/machine/b4860qds-64b.conf
+++ b/conf/machine/b4860qds-64b.conf
@@ -2,7 +2,9 @@ 
 #@DESCRIPTION: Machine configuration for running B4860QDS in 64-bit mode
 
 require e6500-64b.inc
+require conf/machine/include/soc-family.inc
 
+SOC_FAMILY = "b4860"
 # TODO: fix 32bit build of u-boot
 UBOOT_MACHINES ?= "B4860QDS"
 KERNEL_DEVICETREE = "${S}/arch/powerpc/boot/dts/b4860qds.dts \
diff --git a/conf/machine/b4860qds.conf b/conf/machine/b4860qds.conf
index 0da0910..4cdbd22 100644
--- a/conf/machine/b4860qds.conf
+++ b/conf/machine/b4860qds.conf
@@ -2,7 +2,9 @@ 
 #@DESCRIPTION: Machine configuration for running B4860QDS in 32-bit mode
 
 require e6500.inc
+require conf/machine/include/soc-family.inc
 
+SOC_FAMILY = "b4860"
 UBOOT_MACHINES ?= "B4860QDS"
 KERNEL_DEVICETREE = "${S}/arch/powerpc/boot/dts/b4860qds.dts \
 	${S}/arch/powerpc/boot/dts/b4860qds-usdpaa.dts"
diff --git a/conf/machine/mpc8536ds.conf b/conf/machine/mpc8536ds.conf
index babca86..e515566 100644
--- a/conf/machine/mpc8536ds.conf
+++ b/conf/machine/mpc8536ds.conf
@@ -3,7 +3,9 @@ 
 #@DESCRIPTION: Machine configuration for the Freescale MPC8536DS
 
 require e500v2.inc
+require conf/machine/include/soc-family.inc
 
+SOC_FAMILY = "mpc8536"
 BOOTFORMAT_CONFIG = "config_ddr2_512m_mpc8536ds_667M.dat"
 UBOOT_MACHINES ?= "MPC8536DS MPC8536DS_36BIT MPC8536DS_NAND MPC8536DS_SDCARD MPC8536DS_SPIFLASH"
 KERNEL_DEVICETREE = "${S}/arch/powerpc/boot/dts/mpc8536ds.dts \
diff --git a/conf/machine/mpc8544ds.conf b/conf/machine/mpc8544ds.conf
index 89e1d89..2cacf35 100644
--- a/conf/machine/mpc8544ds.conf
+++ b/conf/machine/mpc8544ds.conf
@@ -3,7 +3,9 @@ 
 #@DESCRIPTION: Machine configuration for the Freescale MPC8544DS
 
 require e500v2.inc
+require conf/machine/include/soc-family.inc
 
+SOC_FAMILY = "mpc8544"
 UBOOT_MACHINES ?= "MPC8544DS"
 KERNEL_DEVICETREE = "${S}/arch/powerpc/boot/dts/mpc8544ds.dts"
 KERNEL_DEFCONFIG = "${S}/arch/powerpc/configs/mpc85xx_defconfig"
diff --git a/conf/machine/mpc8548cds.conf b/conf/machine/mpc8548cds.conf
index 631c4cb..b3a91d9 100644
--- a/conf/machine/mpc8548cds.conf
+++ b/conf/machine/mpc8548cds.conf
@@ -3,7 +3,9 @@ 
 #@DESCRIPTION: Machine configuration for the Freescale MPC8548CDS
 
 require e500v2.inc
+require conf/machine/include/soc-family.inc
 
+SOC_FAMILY = "mpc8548"
 UBOOT_MACHINES ?= "MPC8548CDS MPC8548CDS_36BIT"
 KERNEL_DEVICETREE = "${S}/arch/powerpc/boot/dts/mpc8548cds_32b.dts \
                     ${S}/arch/powerpc/boot/dts/mpc8548cds_36b.dts"
diff --git a/conf/machine/mpc8572ds.conf b/conf/machine/mpc8572ds.conf
index 1c06b53..7e598f0 100644
--- a/conf/machine/mpc8572ds.conf
+++ b/conf/machine/mpc8572ds.conf
@@ -2,7 +2,9 @@ 
 #@DESCRIPTION: Machine configuration for running 
 
 require e500v2.inc
+require conf/machine/include/soc-family.inc
 
+SOC_FAMILY = "mpc8572"
 UBOOT_MACHINES ?= "MPC8572DS MPC8572DS_36BIT MPC8572DS_NAND"
 KERNEL_DEVICETREE = "${S}/arch/powerpc/boot/dts/mpc8572ds.dts \
                     ${S}/arch/powerpc/boot/dts/mpc8572ds_36b.dts"
diff --git a/conf/machine/p1010rdb.conf b/conf/machine/p1010rdb.conf
index 9752cc4..bdca3c8 100644
--- a/conf/machine/p1010rdb.conf
+++ b/conf/machine/p1010rdb.conf
@@ -3,7 +3,9 @@ 
 #@DESCRIPTION: Machine configuration for the Freescale P1010RDB
 
 require e500v2.inc
+require conf/machine/include/soc-family.inc
 
+SOC_FAMILY = "p1010"
 UBOOT_MACHINES ?= "P1010RDB_NAND P1010RDB_NOR"
 KERNEL_DEVICETREE = "${S}/arch/powerpc/boot/dts/p1010rdb.dts"
 KERNEL_DEFCONFIG = "${S}/arch/powerpc/configs/mpc85xx_defconfig"
diff --git a/conf/machine/p1020mbg.conf b/conf/machine/p1020mbg.conf
index 1459698..b6182bf 100644
--- a/conf/machine/p1020mbg.conf
+++ b/conf/machine/p1020mbg.conf
@@ -3,7 +3,9 @@ 
 #@DESCRIPTION: Machine configuration for the Freescale P1020MBG
 
 require e500v2.inc
+require conf/machine/include/soc-family.inc
 
+SOC_FAMILY = "p1020"
 BOOTFORMAT_CONFIG = "config_ddr3_1gb_p1_p2_rdb_pc_800M.dat"
 UBOOT_MACHINES ?= "P1020MBG-PC P1020MBG-PC_SDCARD P1020MBG-PC_36BIT P1020MBG-PC_36BIT_SDCARD"
 KERNEL_DEVICETREE = "${S}/arch/powerpc/boot/dts/p1020mbg-pc_32b.dts"
diff --git a/conf/machine/p1020rdb.conf b/conf/machine/p1020rdb.conf
index 1a0e672..3f4e819 100644
--- a/conf/machine/p1020rdb.conf
+++ b/conf/machine/p1020rdb.conf
@@ -2,7 +2,9 @@ 
 #@DESCRIPTION: Machine configuration for running 
 
 require e500v2.inc
+require conf/machine/include/soc-family.inc
 
+SOC_FAMILY = "p1020"
 BOOTFORMAT_CONFIG = "config_ddr3_1gb_p1_p2_rdb_pc_800M.dat"
 UBOOT_MACHINES ?= " P1020RDB-PC P1020RDB-PC_SPIFLASH P1020RDB-PC_NAND P1020RDB-PC_SDCARD P1020RDB-PC_36BIT P1020RDB-PC_36BIT_SPIFLASH P1020RDB-PC_36BIT_NAND P1020RDB-PC_36BIT_SDCARD"
 
diff --git a/conf/machine/p1020utm.conf b/conf/machine/p1020utm.conf
index 26ff060..5b8ea27 100644
--- a/conf/machine/p1020utm.conf
+++ b/conf/machine/p1020utm.conf
@@ -3,7 +3,9 @@ 
 #@DESCRIPTION: Machine configuration for the Freescale P1020UTM
 
 require e500v2.inc
+require conf/machine/include/soc-family.inc
 
+SOC_FAMILY = "p1020"
 BOOTFORMAT_CONFIG = "config_ddr3_1gb_p1_p2_rdb_pc_800M.dat"
 UBOOT_MACHINES ?= "P1020UTM-PC P1020UTM-PC_SDCARD P1020UTM-PC_36BIT P1020UTM-PC_36BIT_SDCARD"
 KERNEL_DEVICETREE = "${S}/arch/powerpc/boot/dts/p1020utm-pc_32b.dts"
diff --git a/conf/machine/p1021rdb.conf b/conf/machine/p1021rdb.conf
index 1a42a94..ad7e54f 100644
--- a/conf/machine/p1021rdb.conf
+++ b/conf/machine/p1021rdb.conf
@@ -3,6 +3,9 @@ 
 #@DESCRIPTION: Machine configuration for the Freescale P1021RDB
 
 require e500v2.inc
+require conf/machine/include/soc-family.inc
+
+SOC_FAMILY = "p1021"
 BOOTFORMAT_CONFIG = "config_ddr3_1gb_p1_p2_rdb_pc_800M.dat"
 UBOOT_MACHINES ?= "P1021RDB-PC P1021RDB-PC_NAND P1021RDB-PC_SDCARD P1021RDB-PC_SPIFLASH P1021RDB-PC_36BIT P1021RDB-PC_36BIT_SPIFLASH P1021RDB-PC_36BIT_NAND P1021RDB-PC_36BIT_SDCARD"
 KERNEL_DEVICETREE = "${S}/arch/powerpc/boot/dts/p1021rdb-pc_32b.dts"
diff --git a/conf/machine/p1022ds.conf b/conf/machine/p1022ds.conf
index 6445bdc..20389a2 100644
--- a/conf/machine/p1022ds.conf
+++ b/conf/machine/p1022ds.conf
@@ -2,7 +2,9 @@ 
 #@DESCRIPTION: Machine configuration for running 
 
 require e500v2.inc
+require conf/machine/include/soc-family.inc
 
+SOC_FAMILY = "p1022"
 BOOTFORMAT_CONFIG = "config_ddr3_2gb_p1022ds.dat"
 UBOOT_MACHINES ?= "P1022DS P1022DS_NAND P1022DS_SPIFLASH P1022DS_SDCARD P1022DS_36BIT P1022DS_36BIT_SPIFLASH P1022DS_36BIT_NAND P1022DS_36BIT_SDCARD"
 KERNEL_DEVICETREE = "${S}/arch/powerpc/boot/dts/p1022ds_32b.dts"
diff --git a/conf/machine/p1023rds.conf b/conf/machine/p1023rds.conf
index 956f321..189c5c0 100644
--- a/conf/machine/p1023rds.conf
+++ b/conf/machine/p1023rds.conf
@@ -2,7 +2,9 @@ 
 #@DESCRIPTION: Machine configuration for running 
 
 require e500v2.inc
+require conf/machine/include/soc-family.inc
 
+SOC_FAMILY = "p1023"
 UBOOT_MACHINES ?= "P1023RDS P1023RDS_NAND"
 KERNEL_DEVICETREE = "${S}/arch/powerpc/boot/dts/p1023rds.dts"
 KERNEL_DEFCONFIG = "${S}/arch/powerpc/configs/85xx/p1023rds_defconfig"
diff --git a/conf/machine/p1024rdb.conf b/conf/machine/p1024rdb.conf
index 2e47e4d..58c0865 100644
--- a/conf/machine/p1024rdb.conf
+++ b/conf/machine/p1024rdb.conf
@@ -3,7 +3,9 @@ 
 #@DESCRIPTION: Machine configuration for the Freescale P1024RDB
 
 require e500v2.inc
+require conf/machine/include/soc-family.inc
 
+SOC_FAMILY = "p1024"
 BOOTFORMAT_CONFIG = "config_ddr3_1gb_p1_p2_rdb_pc_667M.dat"
 UBOOT_MACHINES ?= "P1024RDB P1024RDB_36BIT P1024RDB_NAND P1024RDB_SDCARD P1024RDB_SPIFLASH"
 KERNEL_DEVICETREE = "${S}/arch/powerpc/boot/dts/p1024rdb_32b.dts"
diff --git a/conf/machine/p1025rdb.conf b/conf/machine/p1025rdb.conf
index c625833..a7071cb 100644
--- a/conf/machine/p1025rdb.conf
+++ b/conf/machine/p1025rdb.conf
@@ -3,8 +3,9 @@ 
 #@DESCRIPTION: Machine configuration for the Freescale P1025RDB
 
 require e500v2.inc
+require conf/machine/include/soc-family.inc
 
-
+SOC_FAMILY = "p1025"
 BOOTFORMAT_CONFIG = "config_ddr3_1gb_p1_p2_rdb_pc_667M.dat"
 UBOOT_MACHINES ?= "P1025RDB P1025RDB_36BIT P1025RDB_NAND P1025RDB_SDCARD P1025RDB_SPIFLASH"
 KERNEL_DEVICETREE = "${S}/arch/powerpc/boot/dts/p1025rdb_32b.dts"
diff --git a/conf/machine/p2020ds.conf b/conf/machine/p2020ds.conf
index dd2c9d1..21f62de 100644
--- a/conf/machine/p2020ds.conf
+++ b/conf/machine/p2020ds.conf
@@ -2,8 +2,10 @@ 
 #@DESCRIPTION: Machine configuration for running 
 
 require e500v2.inc
-BOOTFORMAT_CONFIG = "config_sram_p2020ds.dat"
+require conf/machine/include/soc-family.inc
 
+SOC_FAMILY = "p2020"
+BOOTFORMAT_CONFIG = "config_sram_p2020ds.dat"
 UBOOT_MACHINES ?= "P2020DS P2020DS_36BIT P2020DS_DDR2 P2020DS_SDCARD P2020DS_SPIFLASH"
 KERNEL_DEVICETREE = "${S}/arch/powerpc/boot/dts/p2020ds.dts"
 KERNEL_DEFCONFIG = "${S}/arch/powerpc/configs/mpc85xx_smp_defconfig"
diff --git a/conf/machine/p2020rdb.conf b/conf/machine/p2020rdb.conf
index 7c0f573..67856b3 100644
--- a/conf/machine/p2020rdb.conf
+++ b/conf/machine/p2020rdb.conf
@@ -3,7 +3,9 @@ 
 #@DESCRIPTION: Machine configuration for the Freescale P2020RDB
 
 require e500v2.inc
+require conf/machine/include/soc-family.inc
 
+SOC_FAMILY = "p2020"
 BOOTFORMAT_CONFIG = "config_ddr3_1gb_64bit_p2020rdb_pc.dat"
 UBOOT_MACHINES ?= " P2020RDB-PC P2020RDB-PC_NAND P2020RDB-PC_SDCARD P2020RDB-PC_SPIFLASH P2020RDB-PC_36BIT P2020RDB-PC_36BIT_SPIFLASH P2020RDB-PC_36BIT_NAND P2020RDB-PC_36BIT_SDCARD"
 KERNEL_DEVICETREE = "${S}/arch/powerpc/boot/dts/p2020rdb-pc_32b.dts"
diff --git a/conf/machine/p2041rdb.conf b/conf/machine/p2041rdb.conf
index 7cb449b..ea1594f 100644
--- a/conf/machine/p2041rdb.conf
+++ b/conf/machine/p2041rdb.conf
@@ -2,7 +2,9 @@ 
 #@DESCRIPTION: Machine configuration for running 
 
 require e500mc.inc
+require conf/machine/include/soc-family.inc
 
+SOC_FAMILY = "p2041"
 UBOOT_MACHINES ?= "P2041RDB P2041RDB_NAND P2041RDB_SECURE_BOOT P2041RDB_SDCARD P2041RDB_SPIFLASH"
 KERNEL_DEVICETREE = "${S}/arch/powerpc/boot/dts/p2041rdb.dts \
 	${S}/arch/powerpc/boot/dts/p2041rdb-usdpaa.dts"
diff --git a/conf/machine/p3041ds.conf b/conf/machine/p3041ds.conf
index e4569aa..bf03649 100644
--- a/conf/machine/p3041ds.conf
+++ b/conf/machine/p3041ds.conf
@@ -2,7 +2,9 @@ 
 #@DESCRIPTION: Machine configuration for running 
 
 require e500mc.inc
+require conf/machine/include/soc-family.inc
 
+SOC_FAMILY = "p3041"
 UBOOT_MACHINES ?= "P3041DS P3041DS_NAND P3041DS_SECURE_BOOT P3041DS_SDCARD P3041DS_SPIFLASH"
 KERNEL_DEVICETREE = "${S}/arch/powerpc/boot/dts/p3041ds.dts \
 	${S}/arch/powerpc/boot/dts/p3041ds-usdpaa.dts"
diff --git a/conf/machine/p4080ds.conf b/conf/machine/p4080ds.conf
index 00a4e84..332a39f 100644
--- a/conf/machine/p4080ds.conf
+++ b/conf/machine/p4080ds.conf
@@ -2,7 +2,9 @@ 
 #@DESCRIPTION: Machine configuration for running 
 
 require e500mc.inc
+require conf/machine/include/soc-family.inc
 
+SOC_FAMILY = "p4080"
 UBOOT_MACHINES ?= "P4080DS P4080DS_SECURE_BOOT P4080DS_SDCARD P4080DS_SPIFLASH "
 KERNEL_DEVICETREE = "${S}/arch/powerpc/boot/dts/p4080ds.dts \
 	${S}/arch/powerpc/boot/dts/p4080ds-usdpaa.dts"
diff --git a/conf/machine/p5020ds-64b.conf b/conf/machine/p5020ds-64b.conf
index 7273097..75be7fd 100644
--- a/conf/machine/p5020ds-64b.conf
+++ b/conf/machine/p5020ds-64b.conf
@@ -2,7 +2,9 @@ 
 #@DESCRIPTION: Machine configuration for running 
 
 require e5500-64b.inc
+require conf/machine/include/soc-family.inc
 
+SOC_FAMILY = "p5020"
 # TODO: fix 32bit build of u-boot for p5020ds-64b
 UBOOT_MACHINES ?= "P5020DS"
 KERNEL_DEVICETREE = "${S}/arch/powerpc/boot/dts/p5020ds.dts \
diff --git a/conf/machine/p5020ds.conf b/conf/machine/p5020ds.conf
index eb1d73d..06b4f7c 100644
--- a/conf/machine/p5020ds.conf
+++ b/conf/machine/p5020ds.conf
@@ -2,7 +2,9 @@ 
 #@DESCRIPTION: Machine configuration for running 
 
 require e5500.inc
+require conf/machine/include/soc-family.inc
 
+SOC_FAMILY = "p5020"
 UBOOT_MACHINES ?= "P5020DS P5020DS_NAND P5020DS_SECURE_BOOT P5020DS_SDCARD P5020DS_SPIFLASH "
 KERNEL_DEVICETREE = "${S}/arch/powerpc/boot/dts/p5020ds.dts \
 	${S}/arch/powerpc/boot/dts/p5020ds-usdpaa.dts"
diff --git a/conf/machine/p5040ds-64b.conf b/conf/machine/p5040ds-64b.conf
index 07ed3b2..68a5a32 100644
--- a/conf/machine/p5040ds-64b.conf
+++ b/conf/machine/p5040ds-64b.conf
@@ -2,7 +2,9 @@ 
 #@DESCRIPTION: Machine configuration for running 
 
 require e5500-64b.inc
+require conf/machine/include/soc-family.inc
 
+SOC_FAMILY = "p5040"
 UBOOT_MACHINES ?= "P5040DS  P5040DS_NAND P5040DS_SECURE_BOOT P5040DS_SDCARD P5040DS_SPIFLASH"
 KERNEL_DEVICETREE = "${S}/arch/powerpc/boot/dts/p5040ds.dts \
 	${S}/arch/powerpc/boot/dts/p5040ds-usdpaa.dts"
diff --git a/conf/machine/p5040ds.conf b/conf/machine/p5040ds.conf
index bda7fac..e1db069 100644
--- a/conf/machine/p5040ds.conf
+++ b/conf/machine/p5040ds.conf
@@ -2,7 +2,9 @@ 
 #@DESCRIPTION: Machine configuration for running 
 
 require e5500.inc
+require conf/machine/include/soc-family.inc
 
+SOC_FAMILY = "p5040"
 UBOOT_MACHINES ?= "P5040DS P5040DS_NAND P5040DS_SECURE_BOOT P5040DS_SDCARD P5040DS_SPIFLASH"
 KERNEL_DEVICETREE = "${S}/arch/powerpc/boot/dts/p5040ds.dts \
 	${S}/arch/powerpc/boot/dts/p5040ds-usdpaa.dts"
diff --git a/conf/machine/t4160qds-64b.conf b/conf/machine/t4160qds-64b.conf
index aa186d4..eceb065 100644
--- a/conf/machine/t4160qds-64b.conf
+++ b/conf/machine/t4160qds-64b.conf
@@ -2,7 +2,9 @@ 
 #@DESCRIPTION: Machine configuration for running T4160QDS in 64-bit mode
 
 require e6500-64b.inc
+require conf/machine/include/soc-family.inc
 
+SOC_FAMILY = "t4160"
 # TODO: fix 32bit build of u-boot
 UBOOT_MACHINES ?= "T4160QDS"
 KERNEL_DEVICETREE = "${S}/arch/powerpc/boot/dts/t4240qds.dts \
diff --git a/conf/machine/t4160qds.conf b/conf/machine/t4160qds.conf
index a8d6a7e..4ae03bc 100644
--- a/conf/machine/t4160qds.conf
+++ b/conf/machine/t4160qds.conf
@@ -2,7 +2,9 @@ 
 #@DESCRIPTION: Machine configuration for running T4160QDS in 32-bit mode
 
 require e6500.inc
+require conf/machine/include/soc-family.inc
 
+SOC_FAMILY = "t4160"
 UBOOT_MACHINES ?= "T4160QDS"
 KERNEL_DEVICETREE = "${S}/arch/powerpc/boot/dts/t4240qds.dts \
 	${S}/arch/powerpc/boot/dts/t4240qds-usdpaa.dts"
diff --git a/conf/machine/t4240qds-64b.conf b/conf/machine/t4240qds-64b.conf
index 7063f9e..8aae528 100644
--- a/conf/machine/t4240qds-64b.conf
+++ b/conf/machine/t4240qds-64b.conf
@@ -2,7 +2,9 @@ 
 #@DESCRIPTION: Machine configuration for running T4240QDS in 64-bit mode
 
 require e6500-64b.inc
+require conf/machine/include/soc-family.inc
 
+SOC_FAMILY = "t4240"
 # TODO: fix 32bit build of u-boot
 UBOOT_MACHINES ?= "T4240QDS"
 KERNEL_DEVICETREE = "${S}/arch/powerpc/boot/dts/t4240qds.dts \
diff --git a/conf/machine/t4240qds.conf b/conf/machine/t4240qds.conf
index 9cb3f82..4aa36a2 100644
--- a/conf/machine/t4240qds.conf
+++ b/conf/machine/t4240qds.conf
@@ -2,7 +2,9 @@ 
 #@DESCRIPTION: Machine configuration for running T4240QDS in 32-bit mode
 
 require e6500.inc
+require conf/machine/include/soc-family.inc
 
+SOC_FAMILY = "t4240"
 UBOOT_MACHINES ?= "T4240QDS"
 KERNEL_DEVICETREE = "${S}/arch/powerpc/boot/dts/t4240qds.dts \
 	${S}/arch/powerpc/boot/dts/t4240qds-usdpaa.dts"