From: Simon Glass Date: Mon, 16 Jan 2017 14:03:33 +0000 (-0700) Subject: spl: Allow PCH drivers to be used in SPL X-Git-Tag: v2017.03-rc2~107 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=bbe41abf7f0e4362dbadb2928489923db101691f;p=u-boot spl: Allow PCH drivers to be used in SPL Add an option for building Platorm Controller Hub drivers in SPL. Signed-off-by: Simon Glass Reviewed-by: Bin Meng --- diff --git a/common/spl/Kconfig b/common/spl/Kconfig index 3e71817b69..cf714c2726 100644 --- a/common/spl/Kconfig +++ b/common/spl/Kconfig @@ -444,6 +444,15 @@ config SPL_PCI_SUPPORT necessary driver support. This enables the drivers in drivers/pci 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 bool "Support POST drivers" depends on SPL diff --git a/drivers/Makefile b/drivers/Makefile index 00dc041f1b..34c55bfb2f 100644 --- a/drivers/Makefile +++ b/drivers/Makefile @@ -34,6 +34,7 @@ obj-$(CONFIG_SPL_ETH_SUPPORT) += net/ obj-$(CONFIG_SPL_ETH_SUPPORT) += net/phy/ obj-$(CONFIG_SPL_USBETH_SUPPORT) += net/phy/ obj-$(CONFIG_SPL_PCI_SUPPORT) += pci/ +obj-$(CONFIG_SPL_PCH_SUPPORT) += pch/ obj-$(CONFIG_SPL_RTC_SUPPORT) += rtc/ obj-$(CONFIG_SPL_TIMER_SUPPORT) += timer/ obj-$(CONFIG_SPL_MUSB_NEW_SUPPORT) += usb/musb-new/