summary refs log tree commit diff stats
path: root/hw/ppc
diff options
context:
space:
mode:
authorBernhard Beschow <shentey@gmail.com>2025-06-10 22:41:27 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2025-06-17 09:54:51 +0200
commit5d353cce65142440251c014331c2f25f3af5e1b2 (patch)
treea926f5754b9b0df5567c73abfcb7c52c3cb54965 /hw/ppc
parent0f1d6606c28d0ae81a1b311972c5c54e5e867bf0 (diff)
downloadfocaccia-qemu-5d353cce65142440251c014331c2f25f3af5e1b2.tar.gz
focaccia-qemu-5d353cce65142440251c014331c2f25f3af5e1b2.zip
hw: Fix type constant for DTB files
Commit fcb1ad456c58 ("system/datadir: Add new type constant for DTB files")
introduced a new type constant for DTB files and converted the boards with
bundled device trees to use it. Convert the other boards for consistency.

Fixes: fcb1ad456c58 ("system/datadir: Add new type constant for DTB files")
Signed-off-by: Bernhard Beschow <shentey@gmail.com>
Link: https://lore.kernel.org/r/20250610204131.2862-2-shentey@gmail.com
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw/ppc')
-rw-r--r--hw/ppc/e500.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/ppc/e500.c b/hw/ppc/e500.c
index 6899802bed..723c97fad2 100644
--- a/hw/ppc/e500.c
+++ b/hw/ppc/e500.c
@@ -408,7 +408,7 @@ static int ppce500_load_device_tree(PPCE500MachineState *pms,
 
     if (dtb_file) {
         char *filename;
-        filename = qemu_find_file(QEMU_FILE_TYPE_BIOS, dtb_file);
+        filename = qemu_find_file(QEMU_FILE_TYPE_DTB, dtb_file);
         if (!filename) {
             goto out;
         }