Skip to contentSkip to conversation

mach-k3: am62ax: am62a7_init: Drop write to non existent register

PATCH In review Vignesh Raghavendra 3 participants 3 messages Jun 20, 2025 – Jun 27, 2025

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 mach-k3: am62ax: am62a7_init: Drop write to non existent register

Per section 14.2.1.3 Kick Protection Registers of AM62A TRM[1], there is no partition 5. Delete it.

[1] https://www.ti.com/lit/pdf/spruj16

Fixes b511b371ad76 ("arm: mach-k3: introduce basic files to support the am62a")
---
 arch/arm/mach-k3/am62ax/am62a7_init.c | 1 -
 1 file changed, 1 deletion(-)
arch/arm/mach-k3/am62ax/am62a7_init.c +0 -1
index edd43a1d78da..fcc65ef2652e 100644
@@ -57,7 +57,6 @@ static void ctrl_mmr_unlock(void)
 	mmr_unlock(CTRL_MMR0_BASE, 1);
 	mmr_unlock(CTRL_MMR0_BASE, 2);
 	mmr_unlock(CTRL_MMR0_BASE, 4);
-	mmr_unlock(CTRL_MMR0_BASE, 5);
 	mmr_unlock(CTRL_MMR0_BASE, 6);
 
 	/* Unlock all MCU_CTRL_MMR0 module registers */
Signature · 1 line
2.49.0
Reviewed-by on v1 1/1
#1 lore raw

On June 20, 2025 thus sayeth Vignesh Raghavendra:

Quoted 11 lines

Per section 14.2.1.3 Kick Protection Registers of AM62A TRM[1], there is no partition 5. Delete it.

[1] https://www.ti.com/lit/pdf/spruj16

Fixes b511b371ad76 ("arm: mach-k3: introduce basic files to support the am62a")
---
 arch/arm/mach-k3/am62ax/am62a7_init.c | 1 -
 1 file changed, 1 deletion(-)

Oops good catch

~Bryan

#2 lore raw
In reply to Vignesh Raghavendra
Quoted 6 lines · Vignesh Raghavendra

Per section 14.2.1.3 Kick Protection Registers of AM62A TRM[1], there is no partition 5. Delete it.

[1] https://www.ti.com/lit/pdf/spruj16

Applied to u-boot/next, thanks!

[1/1] mach-k3: am62ax: am62a7_init: Drop write to non existent register

      commit: 95d303f7e56688fde6e50cb0a49e8cbd140b2fb2
Signature · 1 line
Tom