Skip to content

RFC hw: Have some targets select FDT on a per-machine basis

Philippe Mathieu-Daudé qemu-devel 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest4 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4Kconfig.host: Declare FDT symbolKconfig.host+4 -00 replies
2/4hw/ppc: Rename FDT_PPC as FDThw/ppc/Kconfig hw/ppc/meson.build+7 -100 replies
3/4hw/mips/Kconfig: Let boston machine select FDThw/mips/Kconfig+1 -00 replies
4/4hw/rx/Kconfig: Let gdbsim machine select FDThw/rx/Kconfig+1 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [RFC PATCH 0/4] hw: Have some targets select FDT on a per-machine basis

PoC to have CONFIG_FDT per-machine set by Kconfig, looking at Paolo's "dtc: Convert Makefile bits to meson bits":
https://lists.gnu.org/archive/html/qemu-devel/2020-10/msg00983.html

These files shouldn't be needed:
. default-configs/targets/mips64el-softmmu.mak
. default-configs/targets/ppc-softmmu.mak
. default-configs/targets/ppc64-softmmu.mak
. default-configs/targets/rx-softmmu.mak

The QEMU FTD API is used by these boot.c files, so for these it is easier to have a per-target config:
. hw/arm/boot.c
. hw/microblaze/boot.c
. hw/nios2/boot.c
. hw/riscv/boot.c

Philippe Mathieu-Daudé (4):
Kconfig.host: Declare FDT symbol
hw/ppc: Rename FDT_PPC as FDT
hw/mips/Kconfig: Let boston machine select FDT
hw/rx/Kconfig: Let gdbsim machine select FDT

 Kconfig.host       |  4 ++++
 hw/mips/Kconfig    |  1 +
 hw/ppc/Kconfig     | 15 ++++++---------
 hw/ppc/meson.build |  2 +-
 hw/rx/Kconfig      |  1 +
 5 files changed, 13 insertions(+), 10 deletions(-)
Signature · 1 line
2.26.2