hw/nvram/fw_cfg: Remove fw_cfg_add_extra_pci_roots()
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Fri, 6 Dec 2024 17:10:20 +0000 (18:10 +0100)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Fri, 13 Dec 2024 23:16:20 +0000 (00:16 +0100)
commit3a25075ecef85adca5ab5b4e2486955b9d7a23ce
tree1de87b4f221678251566d49127cbd22606f558be
parente5fd678a0d2489baa9af0c91408b93474836afcf
hw/nvram/fw_cfg: Remove fw_cfg_add_extra_pci_roots()

Now that all uses of fw_cfg_add_extra_pci_roots() have been
converted to the newer pci_bus_add_fw_cfg_extra_pci_roots(),
we can remove that bogus method. hw/nvram/fw_cfg must
stay generic. Device specific entries have to be implemented
using TYPE_FW_CFG_DATA_GENERATOR_INTERFACE.

This mostly reverts commit 0abd38885ac0fcdb08653922f339849cad387961
("fw_cfg: Refactor extra pci roots addition").

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Message-Id: <20241206181352.6836-7-philmd@linaro.org>
hw/nvram/fw_cfg.c
include/hw/nvram/fw_cfg.h