]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
firmware: psci: introduce SPL_ARM_PSCI_FW
authorPeng Fan <peng.fan@nxp.com>
Sun, 9 Dec 2018 12:45:45 +0000 (12:45 +0000)
committerTom Rini <trini@konsulko.com>
Wed, 12 Dec 2018 17:14:25 +0000 (12:14 -0500)
Introduce a new macro SPL_ARM_PSCI_FW

Signed-off-by: Peng Fan <peng.fan@nxp.com>
Reviewed-by: Stefano Babic <sbabic@denx.de>
drivers/firmware/Kconfig
drivers/firmware/Makefile

index feaea8130fd4211bc08c6fb14a7a982d078be049..7d8f161b267a650dc8705b98f4f577a8969db5b1 100644 (file)
@@ -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
index 6cb83582b9ff2665419d7c25b30eb5df512f5f8b..6c3e1296852743e1a66831a58e7733d7447e1214 100644 (file)
@@ -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