diff mbox series

arm64: zynqmp: Change firmware dependency

Message ID d439399160ff3374f2b39f54f7dd70fa8c8bfea0.1642162121.git.michal.simek@xilinx.com
State Accepted
Commit 71efd45a5fc70e29e391e0b57c700de8708ae6d9
Delegated to: Michal Simek
Headers show
Series arm64: zynqmp: Change firmware dependency | expand

Commit Message

Michal Simek Jan. 14, 2022, 12:08 p.m. UTC
In case of mini U-Boot configurations there is no need to enable firmware
driver which just consume space for nothing. That's why add an option to
disable it.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
---

 arch/arm/Kconfig | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

Michal Simek Jan. 19, 2022, 10:36 a.m. UTC | #1
pá 14. 1. 2022 v 13:08 odesílatel Michal Simek <michal.simek@xilinx.com> napsal:
>
> In case of mini U-Boot configurations there is no need to enable firmware
> driver which just consume space for nothing. That's why add an option to
> disable it.
>
> Signed-off-by: Michal Simek <michal.simek@xilinx.com>
> ---
>
>  arch/arm/Kconfig | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
> index 23d57ca10c51..635cea6131a8 100644
> --- a/arch/arm/Kconfig
> +++ b/arch/arm/Kconfig
> @@ -1193,7 +1193,7 @@ config ARCH_ZYNQMP
>         select DM_SERIAL
>         select DM_SPI if SPI
>         select DM_SPI_FLASH if DM_SPI
> -       select FIRMWARE
> +       imply FIRMWARE
>         select GICV2
>         select GPIO_EXTRA_HEADER
>         select OF_CONTROL
> @@ -1203,7 +1203,7 @@ config ARCH_ZYNQMP
>         select SPL_DM_SPI if SPI && SPL_DM
>         select SPL_DM_SPI_FLASH if SPL_DM_SPI
>         select SPL_DM_MAILBOX if SPL
> -       select SPL_FIRMWARE if SPL
> +       imply SPL_FIRMWARE if SPL
>         select SPL_SEPARATE_BSS if SPL
>         select SUPPORT_SPL
>         select ZYNQMP_IPI
> --
> 2.34.1
>

Applied.
M
diff mbox series

Patch

diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index 23d57ca10c51..635cea6131a8 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -1193,7 +1193,7 @@  config ARCH_ZYNQMP
 	select DM_SERIAL
 	select DM_SPI if SPI
 	select DM_SPI_FLASH if DM_SPI
-	select FIRMWARE
+	imply FIRMWARE
 	select GICV2
 	select GPIO_EXTRA_HEADER
 	select OF_CONTROL
@@ -1203,7 +1203,7 @@  config ARCH_ZYNQMP
 	select SPL_DM_SPI if SPI && SPL_DM
 	select SPL_DM_SPI_FLASH if SPL_DM_SPI
 	select SPL_DM_MAILBOX if SPL
-	select SPL_FIRMWARE if SPL
+	imply SPL_FIRMWARE if SPL
 	select SPL_SEPARATE_BSS if SPL
 	select SUPPORT_SPL
 	select ZYNQMP_IPI