summaryrefslogtreecommitdiff
path: root/test/py/tests/test_source.py
diff options
context:
space:
mode:
authorAndre Przywara <andre.przywara@arm.com>2025-03-23 11:35:36 +0000
committerAndre Przywara <andre.przywara@arm.com>2025-03-27 00:26:35 +0000
commit6d6d58be25dd0b8e1955b15cf197f418be58bfd9 (patch)
treea11c718536c722e7400a10d96302196896e7ebd6 /test/py/tests/test_source.py
parentf8f6c867d934948acdcd83bc3b13c02763b5c9df (diff)
sunxi: update rmr_switch.S source code
Because the Allwinner BootROM always runs in AArch32, even on ARMv8 SoCs, we need to switch to AArch64 first, but also need to save the CPU state, when we later may need to return to the BootROM, for continuing with the FEL USB protocol. This is done in 32-bit code, which we include into the AArch64 boot assembly file as a series of .word directives, containing the encoded AArch32 instructions. To be able to change and verify that code, we also kept an assembly file with the respective 32-bit code, but just for reference. As this code is never compiled or assembled - it's just for documentation - it became stale over time: we didn't really update this along with the changes we made to the boot code. In particular the FEL save code was completely missing. Update that 32-bit assembly file, to match the current version used in boot0.h, including the FEL save routine. Also update the build instructions in the comments, to give people an actual chance to assemble this code. Signed-off-by: Andre Przywara <andre.przywara@arm.com> Acked-by: Jernej Skrabec <jernej.skrabec@gmail.com>
Diffstat (limited to 'test/py/tests/test_source.py')
0 files changed, 0 insertions, 0 deletions