public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] firmware: psci: introduce SPL_ARM_PSCI_FW
@ 2018-12-09 12:45 Peng Fan
  2018-12-09 13:12 ` Stefano Babic
  2018-12-13  0:47 ` [U-Boot] " Tom Rini
  0 siblings, 2 replies; 3+ messages in thread
From: Peng Fan @ 2018-12-09 12:45 UTC (permalink / raw)
  To: u-boot

Introduce a new macro SPL_ARM_PSCI_FW

Signed-off-by: Peng Fan <peng.fan@nxp.com>
---
 drivers/firmware/Kconfig  | 4 ++++
 drivers/firmware/Makefile | 2 +-
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/drivers/firmware/Kconfig b/drivers/firmware/Kconfig
index feaea8130f..7d8f161b26 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 6cb83582b9..6c3e129685 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
-- 
2.14.1

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-12-13  0:47 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-12-09 12:45 [U-Boot] [PATCH] firmware: psci: introduce SPL_ARM_PSCI_FW Peng Fan
2018-12-09 13:12 ` Stefano Babic
2018-12-13  0:47 ` [U-Boot] " Tom Rini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox