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 feaea81..7d8f161 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 6cb8358..6c3e129 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