summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAhmad Fatoum <a.fatoum@pengutronix.de>2021-07-22 14:41:37 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2021-08-09 20:37:12 +0200
commitc53e1fc545e686e1f48c8efb9057fc72e158f183 (patch)
tree4a5c7e281c97ae0999bfc960e5cbe950aa30dc99
parent75c17bc9345d806b106925b4abe672b87d229948 (diff)
downloadbarebox-c53e1fc545e686e1f48c8efb9057fc72e158f183.tar.gz
barebox-c53e1fc545e686e1f48c8efb9057fc72e158f183.tar.xz
ARM: at91: fix building samad2 images without sama5d3
Addition of first stage support for SAMA5D3 added a dependency between sama5d2 and sama5d3 first stages: They both needed to be enabled to generate images for either. Break up this dependency to fix build failures for configs that e.g. only build one SoC. Fixes: e30fb46597d3 ("ARM: at91: xload-mmc: add sama5d3_atmci_start_image() helper") Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Link: https://lore.barebox.org/20210722124137.7431-1-a.fatoum@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
-rw-r--r--arch/arm/mach-at91/Kconfig5
1 files changed, 1 insertions, 4 deletions
diff --git a/arch/arm/mach-at91/Kconfig b/arch/arm/mach-at91/Kconfig
index 28a82c1a9..290178706 100644
--- a/arch/arm/mach-at91/Kconfig
+++ b/arch/arm/mach-at91/Kconfig
@@ -44,10 +44,7 @@ config HAVE_AT91_DDRAMC
bool
config AT91_MCI_PBL
- bool
- depends on MCI_ATMEL_PBL
- depends on MCI_ATMEL_SDHCI_PBL
- default y
+ def_bool MCI_ATMEL_PBL || MCI_ATMEL_SDHCI_PBL
# Select if board uses the common at91sam926x_board_init
config AT91SAM926X_BOARD_INIT