From 2ced48ecf3215f9f10073c73f5a94156a0b586fc Mon Sep 17 00:00:00 2001 From: Jacob Stiffler Date: Fri, 9 Jun 2017 00:58:33 +0000 Subject: machines: add ti-pdk class variables * Set the ti-pdk class variables which sets the list of devices and boards supported. Signed-off-by: Jacob Stiffler Signed-off-by: Denys Dmytriyenko --- conf/machine/am57xx-evm.conf | 3 +++ conf/machine/beaglebone.conf | 3 +++ conf/machine/dra7xx-evm.conf | 4 ++++ conf/machine/include/k2e.inc | 4 ++++ conf/machine/include/k2g.inc | 4 ++++ conf/machine/include/k2hk.inc | 4 ++++ conf/machine/include/omap-a15.inc | 3 +++ conf/machine/include/ti33x.inc | 4 ++++ conf/machine/include/ti43x.inc | 4 ++++ conf/machine/k2l-evm.conf | 4 ++++ 10 files changed, 37 insertions(+) (limited to 'conf') diff --git a/conf/machine/am57xx-evm.conf b/conf/machine/am57xx-evm.conf index 7ebf8094..3bc2d132 100644 --- a/conf/machine/am57xx-evm.conf +++ b/conf/machine/am57xx-evm.conf @@ -38,3 +38,6 @@ MKUBIFS_ARGS = "-F -m 2048 -e 126976 -c 8192" # UBI: sub-page size: 512 # UBI: VID header offset: 2048 (aligned 2048) UBINIZE_ARGS = "-m 2048 -p 128KiB -s 512 -O 2048" + +# Set the list of device targets for ti-pdk class recipes +TI_PDK_LIMIT_BOARDS = "evmAM571x evmAM572x idkAM571x idkAM572x" diff --git a/conf/machine/beaglebone.conf b/conf/machine/beaglebone.conf index d1ed0e13..715d2f21 100644 --- a/conf/machine/beaglebone.conf +++ b/conf/machine/beaglebone.conf @@ -19,3 +19,6 @@ SERIAL_CONSOLE = "115200 ttyS0" UBOOT_MACHINE = "am335x_boneblack_config" do_image_wic[depends] += "mtools-native:do_populate_sysroot dosfstools-native:do_populate_sysroot" + +# Refine the list of device targets for ti-pdk class recipes +TI_PDK_LIMIT_BOARDS = "bbbAM335x" diff --git a/conf/machine/dra7xx-evm.conf b/conf/machine/dra7xx-evm.conf index ed37770d..993ca233 100644 --- a/conf/machine/dra7xx-evm.conf +++ b/conf/machine/dra7xx-evm.conf @@ -37,3 +37,7 @@ MKUBIFS_ARGS = "-F -m 2048 -e 126976 -c 8192" # UBI: sub-page size: 512 # UBI: VID header offset: 2048 (aligned 2048) UBINIZE_ARGS = "-m 2048 -p 128KiB -s 512 -O 2048" + +# Set the list of device targets for ti-pdk class recipes +TI_PDK_LIMIT_BOARDS = "evmDRA72x evmDRA75x evmDRA78x" +TI_PDK_LIMIT_SOCS_append = " dra72x dra75x dra78x" diff --git a/conf/machine/include/k2e.inc b/conf/machine/include/k2e.inc index ce3d9c8a..6797fb29 100644 --- a/conf/machine/include/k2e.inc +++ b/conf/machine/include/k2e.inc @@ -1,2 +1,6 @@ require conf/machine/include/keystone.inc SOC_FAMILY_append = ":k2e" + +# Set the list of device targets for ti-pdk class recipes +TI_PDK_LIMIT_SOCS = "k2e" +TI_PDK_LIMIT_BOARDS = "evmK2E" diff --git a/conf/machine/include/k2g.inc b/conf/machine/include/k2g.inc index 3cd540d5..7bcc412b 100644 --- a/conf/machine/include/k2g.inc +++ b/conf/machine/include/k2g.inc @@ -1,2 +1,6 @@ require conf/machine/include/keystone.inc SOC_FAMILY_append = ":k2g" + +# Set the list of device targets for ti-pdk class recipes +TI_PDK_LIMIT_SOCS = "k2g" +TI_PDK_LIMIT_BOARDS = "evmK2G iceK2G" diff --git a/conf/machine/include/k2hk.inc b/conf/machine/include/k2hk.inc index 4f308471..2d2dd6a0 100644 --- a/conf/machine/include/k2hk.inc +++ b/conf/machine/include/k2hk.inc @@ -1,2 +1,6 @@ require conf/machine/include/keystone.inc SOC_FAMILY_append = ":k2hk" + +# Set the list of device targets for ti-pdk class recipes +TI_PDK_LIMIT_SOCS = "k2h k2k" +TI_PDK_LIMIT_BOARDS = "evmK2H evmK2K" diff --git a/conf/machine/include/omap-a15.inc b/conf/machine/include/omap-a15.inc index 0ea428f2..0c49753b 100644 --- a/conf/machine/include/omap-a15.inc +++ b/conf/machine/include/omap-a15.inc @@ -34,3 +34,6 @@ UBI_VOLNAME = "rootfs" # List common SoC features, may need to add touchscreen for specific machines MACHINE_FEATURES = "kernel26 apm usbgadget usbhost vfat ext2 screen alsa ethernet sgx mmip dsp" + +# Set the list of device targets for ti-pdk class recipes +TI_PDK_LIMIT_SOCS = "am571x am572x" diff --git a/conf/machine/include/ti33x.inc b/conf/machine/include/ti33x.inc index 73d9aa49..e1f5bbda 100644 --- a/conf/machine/include/ti33x.inc +++ b/conf/machine/include/ti33x.inc @@ -42,3 +42,7 @@ EXTRA_IMAGEDEPENDS += "u-boot" # List common SoC features, may need to add touchscreen for specific machines MACHINE_FEATURES = "kernel26 apm usbgadget usbhost vfat ext2 screen alsa ethernet sgx" + +# Set the list of device targets for ti-pdk class recipes +TI_PDK_LIMIT_SOCS = "am335x" +TI_PDK_LIMIT_BOARDS = "evmAM335x icev2AM335x iceAMIC110 bbbAM335x skAM335x" diff --git a/conf/machine/include/ti43x.inc b/conf/machine/include/ti43x.inc index 2a2fd8dc..88308002 100644 --- a/conf/machine/include/ti43x.inc +++ b/conf/machine/include/ti43x.inc @@ -42,3 +42,7 @@ EXTRA_IMAGEDEPENDS += "u-boot" # List common SoC features, may need to add touchscreen for specific machines MACHINE_FEATURES = "kernel26 apm usbgadget usbhost vfat ext2 screen alsa ethernet sgx" + +# Set the list of device targets for ti-pdk class recipes +TI_PDK_LIMIT_SOCS = "am437x" +TI_PDK_LIMIT_BOARDS = "evmAM437x idkAM437x skAM437x" diff --git a/conf/machine/k2l-evm.conf b/conf/machine/k2l-evm.conf index bddcd3c1..3cf1dab3 100644 --- a/conf/machine/k2l-evm.conf +++ b/conf/machine/k2l-evm.conf @@ -30,3 +30,7 @@ MKUBIFS_ARGS = "-F -m 4096 -e 253952 -c 2000" # UBI: physical eraseblock size: 256 KiB # UBI: sub-page size: 4096 UBINIZE_ARGS = "-m 4096 -p 256KiB -s 4096 -O 4096" + +# Set the list of device targets for ti-pdk class recipes +TI_PDK_LIMIT_SOCS = "k2l" +TI_PDK_LIMIT_BOARDS = "evmK2L" -- cgit v1.2.3-54-g00ecf