Skip to content
Snippets Groups Projects
Commit bbe41abf authored by Simon Glass's avatar Simon Glass Committed by Bin Meng
Browse files

spl: Allow PCH drivers to be used in SPL


Add an option for building Platorm Controller Hub drivers in SPL.

Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
Reviewed-by: default avatarBin Meng <bmeng.cn@gmail.com>
parent 4a6c81ff
No related branches found
No related tags found
No related merge requests found
...@@ -444,6 +444,15 @@ config SPL_PCI_SUPPORT ...@@ -444,6 +444,15 @@ config SPL_PCI_SUPPORT
necessary driver support. This enables the drivers in drivers/pci necessary driver support. This enables the drivers in drivers/pci
as part of an SPL build. as part of an SPL build.
config SPL_PCH_SUPPORT
bool "Support PCH drivers"
depends on SPL
help
Enable support for PCH (Platform Controller Hub) devices in SPL.
These are used to set up GPIOs and the SPI peripheral early in
boot. This enables the drivers in drivers/pch as part of an SPL
build.
config SPL_POST_MEM_SUPPORT config SPL_POST_MEM_SUPPORT
bool "Support POST drivers" bool "Support POST drivers"
depends on SPL depends on SPL
......
...@@ -34,6 +34,7 @@ obj-$(CONFIG_SPL_ETH_SUPPORT) += net/ ...@@ -34,6 +34,7 @@ obj-$(CONFIG_SPL_ETH_SUPPORT) += net/
obj-$(CONFIG_SPL_ETH_SUPPORT) += net/phy/ obj-$(CONFIG_SPL_ETH_SUPPORT) += net/phy/
obj-$(CONFIG_SPL_USBETH_SUPPORT) += net/phy/ obj-$(CONFIG_SPL_USBETH_SUPPORT) += net/phy/
obj-$(CONFIG_SPL_PCI_SUPPORT) += pci/ obj-$(CONFIG_SPL_PCI_SUPPORT) += pci/
obj-$(CONFIG_SPL_PCH_SUPPORT) += pch/
obj-$(CONFIG_SPL_RTC_SUPPORT) += rtc/ obj-$(CONFIG_SPL_RTC_SUPPORT) += rtc/
obj-$(CONFIG_SPL_TIMER_SUPPORT) += timer/ obj-$(CONFIG_SPL_TIMER_SUPPORT) += timer/
obj-$(CONFIG_SPL_MUSB_NEW_SUPPORT) += usb/musb-new/ obj-$(CONFIG_SPL_MUSB_NEW_SUPPORT) += usb/musb-new/
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment