mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH v1] ARM: at91: xload-mmc: fix typo in sama5d3_atmci_start_image()
@ 2021-06-01  8:42 Oleksij Rempel
  2021-06-02  6:45 ` Sascha Hauer
  0 siblings, 1 reply; 2+ messages in thread
From: Oleksij Rempel @ 2021-06-01  8:42 UTC (permalink / raw)
  To: barebox; +Cc: Oleksij Rempel

Use SAMA5D3_ID_PIOD instead of SAMA5D2_ID_PIOD

Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
---
 arch/arm/mach-at91/xload-mmc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/mach-at91/xload-mmc.c b/arch/arm/mach-at91/xload-mmc.c
index 8d4f653d1e..1b641f3a47 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);
-- 
2.30.2


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-06-02  6:46 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-01  8:42 [PATCH v1] ARM: at91: xload-mmc: fix typo in sama5d3_atmci_start_image() Oleksij Rempel
2021-06-02  6:45 ` Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox