From: Ahmad Fatoum <a.fatoum@pengutronix.de>
To: barebox@lists.infradead.org
Cc: ore@pengutronix.de, Ahmad Fatoum <a.fatoum@pengutronix.de>
Subject: [PATCH master] ARM: at91: fix building samad2 images without sama5d3
Date: Thu, 22 Jul 2021 14:41:37 +0200 [thread overview]
Message-ID: <20210722124137.7431-1-a.fatoum@pengutronix.de> (raw)
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>
---
arch/arm/mach-at91/Kconfig | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/arch/arm/mach-at91/Kconfig b/arch/arm/mach-at91/Kconfig
index 28a82c1a9351..290178706a40 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
--
2.30.2
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
next reply other threads:[~2021-07-22 13:31 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-07-22 12:41 Ahmad Fatoum [this message]
2021-08-09 18:37 ` Sascha Hauer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210722124137.7431-1-a.fatoum@pengutronix.de \
--to=a.fatoum@pengutronix.de \
--cc=barebox@lists.infradead.org \
--cc=ore@pengutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox