Skip to content

Commit

Permalink
spl: Allow remoteproc drivers to be used within SPL
Browse files Browse the repository at this point in the history
Add an option for building remoteproc drivers within SPL.

Reviewed-by: Tom Rini <[email protected]>
Signed-off-by: Lokesh Vutla <[email protected]>
  • Loading branch information
lokeshvutla authored and trini committed Sep 11, 2018
1 parent c365ed7 commit 08c4531
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
6 changes: 6 additions & 0 deletions common/spl/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -642,6 +642,12 @@ config SPL_RAM_DEVICE
be already in memory when SPL takes over, e.g. loaded by the boot
ROM.

config SPL_REMOTEPROC
bool "Support REMOTEPROCS"
help
Enable support for REMOTEPROCs in SPL. This permits to load
a remote processor firmware in SPL.

config SPL_RTC_SUPPORT
bool "Support RTC drivers"
help
Expand Down
2 changes: 1 addition & 1 deletion drivers/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ obj-$(CONFIG_$(SPL_TPL_)SPI_FLASH_SUPPORT) += mtd/spi/
obj-$(CONFIG_$(SPL_TPL_)SPI_SUPPORT) += spi/
obj-$(CONFIG_$(SPL_TPL_)TIMER) += timer/
obj-$(CONFIG_$(SPL_)DM_MAILBOX) += mailbox/
obj-$(CONFIG_$(SPL_)REMOTEPROC) += remoteproc/

ifndef CONFIG_TPL_BUILD
ifdef CONFIG_SPL_BUILD
Expand Down Expand Up @@ -102,7 +103,6 @@ obj-y += input/
# SOC specific infrastructure drivers.
obj-y += smem/
obj-y += soc/
obj-$(CONFIG_REMOTEPROC) += remoteproc/
obj-y += thermal/
obj-y += axi/

Expand Down
2 changes: 1 addition & 1 deletion drivers/remoteproc/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# Texas Instruments Incorporated - http://www.ti.com/
#

obj-$(CONFIG_REMOTEPROC) += rproc-uclass.o
obj-$(CONFIG_$(SPL_)REMOTEPROC) += rproc-uclass.o

# Remote proc drivers - Please keep this list alphabetically sorted.
obj-$(CONFIG_K3_SYSTEM_CONTROLLER) += k3_system_controller.o
Expand Down

0 comments on commit 08c4531

Please sign in to comment.