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

mail archive of the barebox mailing list

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://lore.barebox.org/barebox/0 barebox/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 barebox barebox/ https://lore.barebox.org/barebox \
		barebox@lists.infradead.org barebox@lists.infradead.org
	public-inbox-index barebox

Example config snippet for mirrors.


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git