Skip to contentSkip to conversation

firmware: psci: introduce SPL_ARM_PSCI_FW

PATCH In review Peng Fan 3 participants 3 messages Dec 9, 2018 – Dec 13, 2018

lore
Share & tools
lore

Peng Fan

author
#0 lore raw

PATCH 1/1 firmware: psci: introduce SPL_ARM_PSCI_FW

Introduce a new macro SPL_ARM_PSCI_FW

---
 drivers/firmware/Kconfig  | 4 ++++
 drivers/firmware/Makefile | 2 +-
 2 files changed, 5 insertions(+), 1 deletion(-)
drivers/firmware/Kconfig +4 -0
index feaea8130f..7d8f161b26 100644
@@ -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
drivers/firmware/Makefile +1 -1
index 6cb83582b9..6c3e129685 100644
@@ -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
Signature · 1 line
2.14.1
#1 lore raw

PATCH 1/1 firmware: psci: introduce SPL_ARM_PSCI_FW

Quoted 29 lines · Peng Fan

Introduce a new macro SPL_ARM_PSCI_FW

---
 drivers/firmware/Kconfig  | 4 ++++
 drivers/firmware/Makefile | 2 +-
 2 files changed, 5 insertions(+), 1 deletion(-)
drivers/firmware/Kconfig +4 -0
index feaea8130f..7d8f161b26 100644
@@ -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
drivers/firmware/Makefile +0 -0
index 6cb83582b9..6c3e129685 100644

drivers/firmware/Makefile line 4

Quoted 5 lines
drivers/firmware/Makefile +1 -1
@@ -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

Best regards,
Stefano Babic

Signature · 5 lines
=====================================================================
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de
=====================================================================
#2 lore raw
In reply to Peng Fan
Quoted 4 lines · Peng Fan

Introduce a new macro SPL_ARM_PSCI_FW

Applied to u-boot/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20181212/948f79ab/attachment.sig>