Skip to content

Commit

Permalink
ARM: at91: fix building samad2 images without sama5d3
Browse files Browse the repository at this point in the history
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: e30fb46 ("ARM: at91: xload-mmc: add sama5d3_atmci_start_image() helper")
Signed-off-by: Ahmad Fatoum <[email protected]>
Link: https://lore.barebox.org/[email protected]
Signed-off-by: Sascha Hauer <[email protected]>
  • Loading branch information
a3f authored and saschahauer committed Aug 9, 2021
1 parent 75c17bc commit c53e1fc
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions arch/arm/mach-at91/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c53e1fc

Please sign in to comment.