pc-bios: Move device tree files in their own subdir

We have several device tree files already and may have more in the
future so add a new dtb subdirectory and move device tree files there
so they are not mixed with ROM binaries.

Signed-off-by: BALATON Zoltan <balaton@eik.bme.hu>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-ID: <57f179bd3904c1f2ca062ca4d4ff9592bb4f4daa.1745402140.git.balaton@eik.bme.hu>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
This commit is contained in:
BALATON Zoltan 2025-04-23 12:02:21 +02:00 committed by Philippe Mathieu-Daudé
parent fcb1ad456c
commit 12963e79ca
13 changed files with 29 additions and 25 deletions

View file

@ -44,9 +44,11 @@ char *qemu_find_file(QemuFileType type, const char *name)
switch (type) {
case QEMU_FILE_TYPE_BIOS:
case QEMU_FILE_TYPE_DTB:
subdir = "";
break;
case QEMU_FILE_TYPE_DTB:
subdir = "dtb/";
break;
case QEMU_FILE_TYPE_KEYMAP:
subdir = "keymaps/";
break;