From: Stefano Babic Date: Sun, 9 Dec 2018 14:12:19 +0100 Subject: [U-Boot] [PATCH] firmware: psci: introduce SPL_ARM_PSCI_FW In-Reply-To: <20181209125426.17182-1-peng.fan@nxp.com> References: <20181209125426.17182-1-peng.fan@nxp.com> Message-ID: <62560902-ef9d-ce56-25e1-e8eda96a8def@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 09/12/18 13:45, Peng Fan wrote: > Introduce a new macro SPL_ARM_PSCI_FW > > Signed-off-by: Peng Fan > --- > 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 > Reviewed-by: Stefano Babic Best regards, Stefano Babic -- ===================================================================== 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 =====================================================================