[U-Boot] [PATCH 1/2] riscv: qemu: Enable PCI host ECAM generic driver

Bin Meng bmeng.cn at gmail.com
Wed May 15 15:42:58 UTC 2019


QEMU 4.0.0 'virt' target integrates a generic ECAM PCI host.
Enable the driver for it.

Signed-off-by: Bin Meng <bmeng.cn at gmail.com>
---

 board/emulation/qemu-riscv/Kconfig | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/board/emulation/qemu-riscv/Kconfig b/board/emulation/qemu-riscv/Kconfig
index 20ea6dc..2a03e43 100644
--- a/board/emulation/qemu-riscv/Kconfig
+++ b/board/emulation/qemu-riscv/Kconfig
@@ -36,5 +36,9 @@ config BOARD_SPECIFIC_OPTIONS # dummy
 	imply OF_BOARD_SETUP
 	imply SIFIVE_SERIAL
 	imply SMP
+	imply PCI
+	imply DM_PCI
+	imply PCIE_ECAM_GENERIC
+	imply CMD_PCI
 
 endif
-- 
2.7.4



More information about the U-Boot mailing list