diff --git a/ci/sbsa-ref.yml b/ci/sbsa-ref.yml
index 99e4ed716d01..704a53c6088e 100644
--- a/ci/sbsa-ref.yml
+++ b/ci/sbsa-ref.yml
@@ -10,3 +10,9 @@ machine: sbsa-ref
 target:
   - core-image-sato
   - sbsa-acs
+
+local_conf_header:
+  testimage_network: |
+    # QEMU boots firmware instead of a kernel, so put the network argument
+    # in the EFI disk for testimage.
+    EFI_DISK_BOOT_ARGS:append = " ip=dhcp"
diff --git a/meta-arm-bsp/conf/machine/sbsa-ref.conf b/meta-arm-bsp/conf/machine/sbsa-ref.conf
index 82d55c9b3d7a..96341f435b7b 100644
--- a/meta-arm-bsp/conf/machine/sbsa-ref.conf
+++ b/meta-arm-bsp/conf/machine/sbsa-ref.conf
@@ -13,13 +13,7 @@ MACHINE_FEATURES = " alsa bluetooth efi qemu-usermode rtc screen usbhost vfat wi
 
 IMAGE_FSTYPES += "wic.qcow2"
 
-# This unique WIC file is necessary because kernel boot args cannot be passed
-# because there is no default kernel (see below).  There is no default kernel
-# because QEMU will only allow firmware or kernel to be passed in as a
-# parameter, and we need the firmware.  So, to allow for "ip=dhcp" as a kernel
-# boot arg (which we need for testimage), we have to have a WIC file unique to
-# this platform.
-WKS_FILE = "qemu-efi-disk.wks.in"
+WKS_FILE = "efi-disk.wks.in"
 
 EFI_PROVIDER ?= "${@bb.utils.contains("DISTRO_FEATURES", "systemd", "systemd-boot", "grub-efi", d)}"
 
diff --git a/meta-arm/files/wic/efi-disk.wks.in b/meta-arm/files/wic/efi-disk.wks.in
index e1120da056cd..a21e5b7fa433 100644
--- a/meta-arm/files/wic/efi-disk.wks.in
+++ b/meta-arm/files/wic/efi-disk.wks.in
@@ -2,10 +2,10 @@
 # long-description: Creates a partitioned EFI disk image that the user
 # can directly dd to boot media.
 
-part /boot --source bootimg-efi --sourceparams="loader=${EFI_PROVIDER},dtb=${KERNEL_DTB_NAME}" --label boot --active --align 1024 --use-uuid
+part /boot --source bootimg-efi --sourceparams="loader=${EFI_PROVIDER}${@',dtb=' + d.getVar('KERNEL_DTB_NAME') if d.getVar('KERNEL_DTB_NAME') else ''}" --label boot --active --align 1024 --use-uuid
 
 part / --source rootfs --fstype=ext4 --label root --align 1024 --use-uuid
 
 part swap --size 44 --label swap --fstype=swap --use-uuid
 
-bootloader --ptable gpt --timeout=5 --append="rootwait rootfstype=ext4 console=${KERNEL_CONSOLE}"
+bootloader --ptable gpt --timeout=5 --append="rootwait rootfstype=ext4 console=${KERNEL_CONSOLE} ${@d.getVar('EFI_DISK_BOOT_ARGS') or ''}"
diff --git a/meta-arm/files/wic/qemu-efi-disk.wks.in b/meta-arm/files/wic/qemu-efi-disk.wks.in
deleted file mode 100644
index 100d0edbd6a4..000000000000
--- a/meta-arm/files/wic/qemu-efi-disk.wks.in
+++ /dev/null
@@ -1,11 +0,0 @@
-# short-description: Create an EFI disk image
-# long-description: Creates a partitioned EFI disk image that the user
-# can directly dd to boot media.
-
-part /boot --source bootimg-efi --sourceparams="loader=${EFI_PROVIDER}" --label boot --active --align 1024 --use-uuid
-
-part / --source rootfs --fstype=ext4 --label root --align 1024 --use-uuid
-
-part swap --size 44 --label swap --fstype=swap --use-uuid
-
-bootloader --ptable gpt --timeout=5 --append="rootwait rootfstype=ext4 ip=dhcp"
