Skip to content

Commit bac1798

Browse files
grsandeep85mhatle
authored andcommitted
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 <[email protected]> Signed-off-by: Mark Hatle <[email protected]>
1 parent 4ee953b commit bac1798

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: meta-xilinx-core/classes-recipe/qemuboot-xilinx.bbclass

+2-2
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ QB_DEFAULT_KERNEL:microblaze ?= "${@'simpleImage.mb' if \
2525

2626
# https://docs.amd.com/r/en-US/ug1085-zynq-ultrascale-trm/Boot-Modes
2727
# https://docs.amd.com/r/en-US/ug1304-versal-acap-ssdg/Boot-Device-Modes
28-
QB_DEVICE_MODE ?= "-boot mode=5"
28+
QB_BOOT_MODE ?= "-boot mode=5"
2929

3030
inherit qemuboot
3131

@@ -50,7 +50,7 @@ def qemu_add_extra_args(data):
5050
deploy_dir = data.getVar('DEPLOY_DIR_IMAGE') or ""
5151
machine_name = data.getVar('MACHINE') or ""
5252
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 ""
5454
qb_extra_args = ''
5555
# Add kernel image and boot.scr to qemu boot command when initramfs_image supplied
5656
kernel_name = ''

0 commit comments

Comments
 (0)