diff options
| author | Peng Fan <[email protected]> | 2018-12-09 12:45:45 +0000 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2018-12-12 12:14:25 -0500 |
| commit | cdd7486616d03e1642ba1dacea6f05c10fc97863 (patch) | |
| tree | b8fa36374b6a5a77253bd66b93908b64461031c7 /drivers | |
| parent | 3cc137616d0aed8990f9cd10cc07dba79df99cd6 (diff) | |
firmware: psci: introduce SPL_ARM_PSCI_FW
Introduce a new macro SPL_ARM_PSCI_FW
Signed-off-by: Peng Fan <[email protected]>
Reviewed-by: Stefano Babic <[email protected]>
Diffstat (limited to 'drivers')
| -rw-r--r-- | drivers/firmware/Kconfig | 4 | ||||
| -rw-r--r-- | drivers/firmware/Makefile | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/drivers/firmware/Kconfig b/drivers/firmware/Kconfig index feaea8130fd..7d8f161b267 100644 --- a/drivers/firmware/Kconfig +++ b/drivers/firmware/Kconfig @@ -1,6 +1,10 @@ config FIRMWARE bool "Enable Firmware driver support" +config SPL_ARM_PSCI_FW + bool + select FIRMWARE + config ARM_PSCI_FW bool select FIRMWARE diff --git a/drivers/firmware/Makefile b/drivers/firmware/Makefile index 6cb83582b9f..6c3e1296852 100644 --- a/drivers/firmware/Makefile +++ b/drivers/firmware/Makefile @@ -1,4 +1,4 @@ obj-$(CONFIG_FIRMWARE) += firmware-uclass.o -obj-$(CONFIG_ARM_PSCI_FW) += psci.o +obj-$(CONFIG_$(SPL_)ARM_PSCI_FW) += psci.o obj-$(CONFIG_TI_SCI_PROTOCOL) += ti_sci.o obj-$(CONFIG_SANDBOX) += firmware-sandbox.o |
