[PATCH v2 1/2] RISC-V: enable HW_HAS_PCI
Sascha Hauer
sha at pengutronix.de
Wed Nov 24 23:48:11 PST 2021
On Mon, Nov 22, 2021 at 10:34:35PM +0100, Ahmad Fatoum wrote:
> With the recently added generic ECAM PCI driver, we can now use PCI
> device drivers on the RISC-V Virt machine. Enable HW_HAS_PCI, so the
> driver and bus support can be selected. As HW_HAS_PCI on its own doesn't
> add any code, just enable it for the whole architecture.
>
> Signed-off-by: Ahmad Fatoum <ahmad at a3f.at>
> ---
> v1 -> v2:
> - add missing <asm/pci.h>
> - select CONFIG_HW_HAS_PCI from CONFIG_RISCV, instead of CONFIG_SOC_VIRT
> ---
> arch/riscv/Kconfig | 1 +
> arch/riscv/include/asm/pci.h | 7 +++++++
> 2 files changed, 8 insertions(+)
> create mode 100644 arch/riscv/include/asm/pci.h
I Replaced implicit v1 with this one
Sascha
--
Pengutronix e.K. | |
Steuerwalder Str. 21 | http://www.pengutronix.de/ |
31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
More information about the barebox
mailing list