summaryrefslogtreecommitdiff
path: root/arch/arm/mach-k3/am62ax/am62a7_init.c
AgeCommit message (Collapse)Author
2025-06-27mach-k3: am62ax: am62a7_init: Drop write to non existent registerVignesh 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 Fixes: b511b371ad76 ("arm: mach-k3: introduce basic files to support the am62a") Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com> Reviewed-by: Bryan Brattlof <bb@ti.com>
2025-06-18arm: mach-k3: Print version of DM firmware during boot processMoteen Shah
Print DM firmware's version in the boot up process of K3 devices, having DM capability(DM as a separate binary). Signed-off-by: Moteen Shah <m-shah@ti.com>
2025-06-04mach-k3: am62ax: enable caches for the SPL stageAnshul Dalal
board_init_f for the am62a is missing the call to spl_enable_cache which exists for all other am62 platforms (check am625_init.c & am62p5_init.c). This allows the usage of caches while loading and parsing the u-boot.img FIT resulting in ~2x speedup in the A53 SPL stage. Signed-off-by: Anshul Dalal <anshuld@ti.com>
2025-04-24mach-k3: add eMMC FS boot support for am62[ap]Anshul Dalal
This makes spl_mmc_boot_mode consistent across am62x, 62a and 62p. If MMCSD_MODE_EMMCBOOT is returned, FS boot fails since it checks for FS on the hardware partitions, not the UDA. So to allow FS boot from EMMC, the function should return MMCSD_MODE_FS instead which allows us to read from FS on the UDA. Signed-off-by: Anshul Dalal <anshuld@ti.com>
2025-04-10arch: arm: mach-k3: am62a7: Probe CPSW NUSS in board_init_f()Nathan Morrisson
Probe CPSW NUSS in am62a7 board_init_f() to support ethernet boot. Signed-off-by: Nathan Morrisson <nmorrisson@phytec.com> Signed-off-by: Wadim Egorov <w.egorov@phytec.de>
2025-02-10arm: mach-k3: am62*_init: Probe ESM nodesSanthosh Kumar K
On AM62A and AM62P devices, it is possible to route Main ESM error events to MCU ESM. MCU ESM high error output can trigger the reset logic to reset the device. So, for these devices we have Main ESM and MCU ESM nodes in the device tree. Add functions to probe these nodes if CONFIG_ESM_K3 is enabled. Signed-off-by: Santhosh Kumar K <s-k6@ti.com> Signed-off-by: Judith Mendez <jm@ti.com>
2025-01-02mach-k3: am62a7_init: Add FS and raw mode for eMMCVignesh Raghavendra
This adds FS and raw boot mode support for eMMC similar to other K3 platforms. Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>
2024-12-13arm: mach-k3: am62a7: Provide a way to obtain boot device for non SPLsGarrett Giordano
Introduce get_boot_device() to obtain the booting device. Make it also available for non SPL builds so u-boot can also know the device it is booting from. Signed-off-by: Garrett Giordano <ggiordano@phytec.com> Reviewed-by: Bryan Brattlof <bb@ti.com> Reviewed-by: Andrew Davis <afd@ti.com>
2024-05-13arm: mach-k3: Move code specific to a SoC into that SoC's directoryAndrew Davis
Each SoC now has a directory in mach-k3, let's move the SoC specific files into their respective directories. Signed-off-by: Andrew Davis <afd@ti.com>