[PATCH v1] ARM: at91: xload-mmc: fix typo in sama5d3_atmci_start_image()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Use SAMA5D3_ID_PIOD instead of SAMA5D2_ID_PIOD

Signed-off-by: Oleksij Rempel <o.rempel@xxxxxxxxxxxxxx>
---
 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@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox



[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux