mbox series

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

Message ID 20201005150845.2124381-1-philmd@redhat.com
Headers show
Series hw: Have some targets select FDT on a per-machine basis | expand

Message

Philippe Mathieu-Daudé Oct. 5, 2020, 3:08 p.m. UTC
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(-)