From 2446b6b8f7de28c8d54d920f14e7027e2e64f4ef Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Mon, 16 Jan 2017 07:03:30 -0700 Subject: spl: Allow PCI drivers to be used in SPL Add a new Kconfig option to allow PCI drivers to be used in SPL. Signed-off-by: Simon Glass Reviewed-by: Bin Meng --- common/spl/Kconfig | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'common') diff --git a/common/spl/Kconfig b/common/spl/Kconfig index bf53393..b7e316f 100644 --- a/common/spl/Kconfig +++ b/common/spl/Kconfig @@ -435,6 +435,15 @@ config SYS_OS_BASE endif # SPL_OS_BOOT +config SPL_PCI_SUPPORT + bool "Support PCI drivers" + depends on SPL + help + Enable support for PCI in SPL. For platforms that need PCI to boot, + or must perform some init using PCI in SPL, this provides the + necessary driver support. This enables the drivers in drivers/pci + as part of an SPL build. + config SPL_POST_MEM_SUPPORT bool "Support POST drivers" depends on SPL -- cgit v1.1