Skip to content
Snippets Groups Projects
  • Lokesh Vutla's avatar
    f70b72e3
    arm: K3: Update _start instruction · f70b72e3
    Lokesh Vutla authored and Tom Rini's avatar Tom Rini committed
    
    On K3 family SoCs, once the ROM loads image on R5, M3 resets R5 and
    expects to start executing from 0x0. In order to handle this ROM
    updates the boot vector of R5 such that first 64 bytes of image load
    address are mapped to 0x0.
    
    In this case, it is SPL's responsibility to jump to the proper image
    location. So, update the PC with address of reset vector(like how
    other exception vectors are handled), instead of branching to reset.
    
    Reviewed-by: default avatarTom Rini <trini@konsulko.com>
    Signed-off-by: Lokesh Vutla's avatarLokesh Vutla <lokeshvutla@ti.com>
    f70b72e3
    History
    arm: K3: Update _start instruction
    Lokesh Vutla authored and Tom Rini's avatar Tom Rini committed
    
    On K3 family SoCs, once the ROM loads image on R5, M3 resets R5 and
    expects to start executing from 0x0. In order to handle this ROM
    updates the boot vector of R5 such that first 64 bytes of image load
    address are mapped to 0x0.
    
    In this case, it is SPL's responsibility to jump to the proper image
    location. So, update the PC with address of reset vector(like how
    other exception vectors are handled), instead of branching to reset.
    
    Reviewed-by: default avatarTom Rini <trini@konsulko.com>
    Signed-off-by: Lokesh Vutla's avatarLokesh Vutla <lokeshvutla@ti.com>