diff mbox series

[7/9] ARM: zynqmp: Fix SPL_DM_SPI dependencies

Message ID f5b61fb0f97caebf5b6b71e1bb4495a565b7cba9.1597826658.git.michal.simek@xilinx.com
State New
Delegated to: Michal Simek
Headers show
Series Incorrect Kconfig dependencies | expand

Commit Message

Michal Simek Aug. 19, 2020, 8:44 a.m. UTC
Add missing dependencies for DM_SPI_FLASH.
Kconfig reports it as:
WARNING: unmet direct dependencies detected for SPL_DM_SPI_FLASH
  Depends on [n]: SPL [=n] && SPL_DM [=n]
  Selected by [y]:
  - ARCH_ZYNQMP [=y] && <choice> && SPL_DM_SPI [=y]

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

 arch/arm/Kconfig | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Comments

Michal Simek Sept. 23, 2020, 12:25 p.m. UTC | #1
st 19. 8. 2020 v 10:44 odesílatel Michal Simek <michal.simek@xilinx.com> napsal:
>
> Add missing dependencies for DM_SPI_FLASH.
> Kconfig reports it as:
> WARNING: unmet direct dependencies detected for SPL_DM_SPI_FLASH
>   Depends on [n]: SPL [=n] && SPL_DM [=n]
>   Selected by [y]:
>   - ARCH_ZYNQMP [=y] && <choice> && SPL_DM_SPI [=y]
>
> Signed-off-by: Michal Simek <michal.simek@xilinx.com>
> ---
>
>  arch/arm/Kconfig | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
> index bb71b1647650..1d8e6975fe57 100644
> --- a/arch/arm/Kconfig
> +++ b/arch/arm/Kconfig
> @@ -1153,7 +1153,8 @@ config ARCH_ZYNQMP
>         select OF_CONTROL
>         select SPL_BOARD_INIT if SPL
>         select SPL_CLK if SPL
> -       select SPL_DM_SPI if SPI
> +       select SPL_DM if SPL
> +       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
> --
> 2.28.0
>

Applied just this one.
M
diff mbox series

Patch

diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index bb71b1647650..1d8e6975fe57 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -1153,7 +1153,8 @@  config ARCH_ZYNQMP
 	select OF_CONTROL
 	select SPL_BOARD_INIT if SPL
 	select SPL_CLK if SPL
-	select SPL_DM_SPI if SPI
+	select SPL_DM if SPL
+	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