diff options
author | Mark Hatle <mark.hatle@xilinx.com> | 2021-12-19 14:17:23 -0800 |
---|---|---|
committer | Mark Hatle <mark.hatle@xilinx.com> | 2022-01-14 15:37:05 -0800 |
commit | c55d616c997c36022b092a30e16f1b225482b8a1 (patch) | |
tree | 79cdd7655f5ff682ef177c691a02f584e8ef8dde /meta-xilinx-bsp/conf/machine | |
parent | ea7d0d351127bc8f0a902af7afe55bcdfc543714 (diff) | |
download | meta-xilinx-c55d616c997c36022b092a30e16f1b225482b8a1.tar.gz |
meta-xilinx-bsp: Covert ultra96-zynqmp and vck-sc-zynqmp from BOARD based
Use the MACHINEOVERRIDES to add the BOARD name so that overrides elsewhere
will work as expected. Eventually the overrides will need to be adjusted.
Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
Diffstat (limited to 'meta-xilinx-bsp/conf/machine')
-rw-r--r-- | meta-xilinx-bsp/conf/machine/ultra96-zynqmp.conf | 3 | ||||
-rw-r--r-- | meta-xilinx-bsp/conf/machine/vck-sc-zynqmp.conf | 7 |
2 files changed, 6 insertions, 4 deletions
diff --git a/meta-xilinx-bsp/conf/machine/ultra96-zynqmp.conf b/meta-xilinx-bsp/conf/machine/ultra96-zynqmp.conf index 8f549a56..ff74ac3d 100644 --- a/meta-xilinx-bsp/conf/machine/ultra96-zynqmp.conf +++ b/meta-xilinx-bsp/conf/machine/ultra96-zynqmp.conf | |||
@@ -7,6 +7,9 @@ SOC_VARIANT = 'eg' | |||
7 | 7 | ||
8 | require conf/machine/zynqmp-generic.conf | 8 | require conf/machine/zynqmp-generic.conf |
9 | 9 | ||
10 | # Add board compatibility override | ||
11 | MACHINEOVERRIDES .= ":ultra96" | ||
12 | |||
10 | KERNEL_DEVICETREE = "xilinx/zynqmp-zcu100-revC.dtb" | 13 | KERNEL_DEVICETREE = "xilinx/zynqmp-zcu100-revC.dtb" |
11 | 14 | ||
12 | # Affects meta-xilinx-tools xsctyaml.bbclass related items | 15 | # Affects meta-xilinx-tools xsctyaml.bbclass related items |
diff --git a/meta-xilinx-bsp/conf/machine/vck-sc-zynqmp.conf b/meta-xilinx-bsp/conf/machine/vck-sc-zynqmp.conf index 2c88be62..baaa2bd2 100644 --- a/meta-xilinx-bsp/conf/machine/vck-sc-zynqmp.conf +++ b/meta-xilinx-bsp/conf/machine/vck-sc-zynqmp.conf | |||
@@ -2,12 +2,11 @@ | |||
2 | #@NAME: vck-sc-zynqmp | 2 | #@NAME: vck-sc-zynqmp |
3 | ##@DESCRIPTION: Machine support for vck190 system controller. | 3 | ##@DESCRIPTION: Machine support for vck190 system controller. |
4 | 4 | ||
5 | |||
6 | MACHINE = "zynqmp-generic" | ||
7 | BOARD = "vck-sc" | ||
8 | |||
9 | require conf/machine/zynqmp-generic.conf | 5 | require conf/machine/zynqmp-generic.conf |
10 | 6 | ||
7 | # Add board compatibility override | ||
8 | MACHINEOVERRIDES .= ":vck-sc" | ||
9 | |||
11 | MACHINE_FEATURES = "rtc ext2 ext3 vfat usbhost" | 10 | MACHINE_FEATURES = "rtc ext2 ext3 vfat usbhost" |
12 | 11 | ||
13 | UBOOT_MACHINE ?= "xilinx_zynqmp_virt_defconfig" | 12 | UBOOT_MACHINE ?= "xilinx_zynqmp_virt_defconfig" |