summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2017-01-16 07:03:30 -0700
committerBin Meng <bmeng.cn@gmail.com>2017-02-06 11:38:46 +0800
commit2446b6b8f7de28c8d54d920f14e7027e2e64f4ef (patch)
tree855d3eb27372d2931131ecaf9f7ac590571328b7 /common
parent5e148df95216c0ee2e349a1cfb5b171ecc58632c (diff)
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 <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'common')
-rw-r--r--common/spl/Kconfig9
1 files changed, 9 insertions, 0 deletions
diff --git a/common/spl/Kconfig b/common/spl/Kconfig
index bf5339332f..b7e316f051 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