[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 0/7] hw/nvram/fw_cfg: Do not build device if not needed (Spring c
From: |
Philippe Mathieu-Daudé |
Subject: |
[PATCH 0/7] hw/nvram/fw_cfg: Do not build device if not needed (Spring cleanup) |
Date: |
Mon, 26 Apr 2021 21:35:13 +0200 |
Hi,
Quite a trivial series around fw_cfg:
- enforce the FW_CFG Kconfig symbol,
- add missing Kconfig dependencies,
- explicit machines using the fw_cfg device,
- allow targets not using the device to build without it.
Please review,
Phil.
Philippe Mathieu-Daudé (7):
stubs: Restrict fw_cfg stubs to sysemu
hw/nvram: Rename FW_CFG_MIPS as generic FW_CFG Kconfig symbol
hw/nvram: Declare FW_CFG_DMA Kconfig symbol in hw/nvram/
hw/acpi/vmgenid: Make ACPI_VMGENID depends on FW_CFG Kconfig
hw: Have machines Kconfig-select FW_CFG
hw/{arm,hppa,riscv}: Add fw_cfg arch-specific stub
hw/nvram: Do not build FW_CFG if not required
hw/arm/fw_cfg.c | 19 +++++++++++++++++
hw/hppa/fw_cfg.c | 19 +++++++++++++++++
hw/riscv/fw_cfg.c | 19 +++++++++++++++++
stubs/fw_cfg.c | 49 ++++++++++++++++++++++++++++++++++++++++++--
MAINTAINERS | 2 +-
hw/acpi/Kconfig | 1 +
hw/arm/Kconfig | 2 ++
hw/arm/meson.build | 1 +
hw/display/Kconfig | 3 ---
hw/hppa/Kconfig | 1 +
hw/hppa/meson.build | 1 +
hw/i386/Kconfig | 2 ++
hw/mips/Kconfig | 5 +----
hw/mips/meson.build | 2 +-
hw/nvram/Kconfig | 7 +++++++
hw/nvram/meson.build | 2 +-
hw/ppc/Kconfig | 1 +
hw/riscv/meson.build | 1 +
hw/sparc/Kconfig | 1 +
hw/sparc64/Kconfig | 1 +
stubs/meson.build | 2 +-
21 files changed, 128 insertions(+), 13 deletions(-)
create mode 100644 hw/arm/fw_cfg.c
create mode 100644 hw/hppa/fw_cfg.c
create mode 100644 hw/riscv/fw_cfg.c
--
2.26.3
- [PATCH 0/7] hw/nvram/fw_cfg: Do not build device if not needed (Spring cleanup),
Philippe Mathieu-Daudé <=
- [PATCH 1/7] stubs: Restrict fw_cfg stubs to sysemu, Philippe Mathieu-Daudé, 2021/04/26
- [PATCH 2/7] hw/nvram: Rename FW_CFG_MIPS as generic FW_CFG Kconfig symbol, Philippe Mathieu-Daudé, 2021/04/26
- [PATCH 3/7] hw/nvram: Declare FW_CFG_DMA Kconfig symbol in hw/nvram/, Philippe Mathieu-Daudé, 2021/04/26
- [PATCH 4/7] hw/acpi/vmgenid: Make ACPI_VMGENID depends on FW_CFG Kconfig, Philippe Mathieu-Daudé, 2021/04/26
- [PATCH 5/7] hw: Have machines Kconfig-select FW_CFG, Philippe Mathieu-Daudé, 2021/04/26