summaryrefslogtreecommitdiffstats
path: root/meta-xilinx-core/classes-recipe
diff options
context:
space:
mode:
authorSandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com>2024-06-04 21:20:01 -0600
committerMark Hatle <mark.hatle@amd.com>2024-06-05 15:49:39 -0500
commit8f0b405bd866712f89e888ccc05a70aafa00dfb1 (patch)
tree7af79f552b564d1a35ab2b5887ec421c8a7d5be1 /meta-xilinx-core/classes-recipe
parentfe8e2676f452c3b67897aab603fed07291ee0741 (diff)
downloadmeta-xilinx-8f0b405bd866712f89e888ccc05a70aafa00dfb1.tar.gz
qemuboot-xilinx.bbclass: Rename QB_DEVICE_MODE to QB_BOOT_MODE
Rename QB_DEVICE_MODE to QB_BOOT_MODE to align with TRM boot mode table. Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
Diffstat (limited to 'meta-xilinx-core/classes-recipe')
-rw-r--r--meta-xilinx-core/classes-recipe/qemuboot-xilinx.bbclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta-xilinx-core/classes-recipe/qemuboot-xilinx.bbclass b/meta-xilinx-core/classes-recipe/qemuboot-xilinx.bbclass
index c021ea93..a0ea1531 100644
--- a/meta-xilinx-core/classes-recipe/qemuboot-xilinx.bbclass
+++ b/meta-xilinx-core/classes-recipe/qemuboot-xilinx.bbclass
@@ -25,7 +25,7 @@ QB_DEFAULT_KERNEL:microblaze ?= "${@'simpleImage.mb' if \
25 25
26# https://docs.amd.com/r/en-US/ug1085-zynq-ultrascale-trm/Boot-Modes 26# https://docs.amd.com/r/en-US/ug1085-zynq-ultrascale-trm/Boot-Modes
27# https://docs.amd.com/r/en-US/ug1304-versal-acap-ssdg/Boot-Device-Modes 27# https://docs.amd.com/r/en-US/ug1304-versal-acap-ssdg/Boot-Device-Modes
28QB_DEVICE_MODE ?= "-boot mode=5" 28QB_BOOT_MODE ?= "-boot mode=5"
29 29
30inherit qemuboot 30inherit qemuboot
31 31
@@ -50,7 +50,7 @@ def qemu_add_extra_args(data):
50 deploy_dir = data.getVar('DEPLOY_DIR_IMAGE') or "" 50 deploy_dir = data.getVar('DEPLOY_DIR_IMAGE') or ""
51 machine_name = data.getVar('MACHINE') or "" 51 machine_name = data.getVar('MACHINE') or ""
52 soc_family = data.getVar('SOC_FAMILY') or "" 52 soc_family = data.getVar('SOC_FAMILY') or ""
53 boot_mode = data.getVar('QB_DEVICE_MODE') or "" 53 boot_mode = data.getVar('QB_BOOT_MODE') or ""
54 qb_extra_args = '' 54 qb_extra_args = ''
55 # Add kernel image and boot.scr to qemu boot command when initramfs_image supplied 55 # Add kernel image and boot.scr to qemu boot command when initramfs_image supplied
56 kernel_name = '' 56 kernel_name = ''