F-9723: non-MMU handoff clears r0-r3, not all GPRs

The code clears only r0-r3 for the handoff; the comment said all
GPRs cleared.
pull/892/head
Daniele Lacamera 2026-09-16 12:14:13 +02:00
parent c527ac7ee1
commit c58a6905f0
1 changed files with 1 additions and 1 deletions

View File

@ -72,7 +72,7 @@ void RAMFUNCTION do_boot(const uint32_t *app_offset)
* removes the need for a separate LINUX_PAYLOAD switch per target.
*
* Without MMU there is no DTB to pass, so we fall back to a minimal
* handoff (all GPRs cleared) used by targets like sama5d3. */
* handoff (r0-r3 cleared) used by targets like sama5d3. */
#ifdef MMU
register const uint32_t *dts_in = dts_offset;
asm volatile (