summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOleksij Rempel <o.rempel@pengutronix.de>2021-06-01 10:42:33 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2021-06-02 08:44:58 +0200
commit7689055a8b037363dae840eee33a0ed43f905b7a (patch)
treed9fb565b5f0779272aa5adfbc20354deb793efc7
parent5b4dcc6fdeadf4844852efd7c950614de8525a83 (diff)
downloadbarebox-master.tar.gz
barebox-master.tar.xz
ARM: at91: xload-mmc: fix typo in sama5d3_atmci_start_image()HEADmaster
Use SAMA5D3_ID_PIOD instead of SAMA5D2_ID_PIOD Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de> Link: https://lore.barebox.org/20210601084233.7948-1-o.rempel@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
-rw-r--r--arch/arm/mach-at91/xload-mmc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-at91/xload-mmc.c b/arch/arm/mach-at91/xload-mmc.c
index 8d4f653d1..1b641f3a4 100644
--- a/arch/arm/mach-at91/xload-mmc.c
+++ b/arch/arm/mach-at91/xload-mmc.c
@@ -116,7 +116,7 @@ void __noreturn sama5d3_atmci_start_image(u32 boot_src, unsigned int clock,
instance = &sama5d3_atmci_instances[boot_src];
- sama5d3_pmc_enable_periph_clock(SAMA5D2_ID_PIOD);
+ sama5d3_pmc_enable_periph_clock(SAMA5D3_ID_PIOD);
for (pin = instance->pins; *pin >= 0; pin++) {
at91_mux_pio3_pin(IOMEM(SAMA5D3_BASE_PIOD),
pin_to_mask(*pin), instance->periph, 0);