diff options
author | Paul Barker <paul.barker@sancloud.com> | 2022-11-14 12:42:37 +0000 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2022-12-02 08:39:00 -0500 |
commit | 07744f2ac03c06f0a41aaecccb9a413d38e6c369 (patch) | |
tree | 5666779ca03c4329e525819c3afae932c5de22a2 /drivers/bus | |
parent | e92f47c06a1492859768ffc43bb2a4e16c2f0e42 (diff) | |
download | u-boot-07744f2ac03c06f0a41aaecccb9a413d38e6c369.tar.gz u-boot-07744f2ac03c06f0a41aaecccb9a413d38e6c369.tar.bz2 u-boot-07744f2ac03c06f0a41aaecccb9a413d38e6c369.zip |
bus: Optionally include TI sysc driver in SPL/TPL
The TI sysc bus driver is required to allow access to the SPI bus on
am335x platforms. To support SPI boot this driver needs to be enabled in
the SPL/TPL as appropriate.
Signed-off-by: Paul Barker <paul.barker@sancloud.com>
Diffstat (limited to 'drivers/bus')
-rw-r--r-- | drivers/bus/Kconfig | 7 | ||||
-rw-r--r-- | drivers/bus/Makefile | 5 |
2 files changed, 11 insertions, 1 deletions
diff --git a/drivers/bus/Kconfig b/drivers/bus/Kconfig index c607d24ecf..e60aa722b9 100644 --- a/drivers/bus/Kconfig +++ b/drivers/bus/Kconfig @@ -18,6 +18,13 @@ config TI_SYSC Generic driver for Texas Instruments interconnect target module found on many TI SoCs. +config SPL_TI_SYSC + bool "Support TI sysc interconnect in SPL" + depends on SPL_DM && TI_SYSC + help + Generic driver for Texas Instruments interconnect target module + found on many TI SoCs. + config UNIPHIER_SYSTEM_BUS bool "UniPhier System Bus driver" depends on ARCH_UNIPHIER diff --git a/drivers/bus/Makefile b/drivers/bus/Makefile index a2e71c7b3b..0802b9666b 100644 --- a/drivers/bus/Makefile +++ b/drivers/bus/Makefile @@ -3,6 +3,9 @@ # Makefile for the bus drivers. # +ifeq ($(CONFIG_SPL_BUILD)$(CONFIG_TPL_BUILD),) obj-$(CONFIG_TI_PWMSS) += ti-pwmss.o -obj-$(CONFIG_TI_SYSC) += ti-sysc.o obj-$(CONFIG_UNIPHIER_SYSTEM_BUS) += uniphier-system-bus.o +endif + +obj-$(CONFIG_$(SPL_)TI_SYSC) += ti-sysc.o |