diff options
author | Michal Simek <michal.simek@amd.com> | 2022-06-24 14:15:00 +0200 |
---|---|---|
committer | Michal Simek <michal.simek@amd.com> | 2022-06-24 14:15:00 +0200 |
commit | 81169ae64872eaa99304df70422f9c674755d0c5 (patch) | |
tree | 64c7bd140f532e9c78417de6ac984663dea83a67 /arch/microblaze | |
parent | b6fe10afe99c708a1dbb2d01be084aca32521651 (diff) | |
download | u-boot-81169ae64872eaa99304df70422f9c674755d0c5.zip u-boot-81169ae64872eaa99304df70422f9c674755d0c5.tar.gz u-boot-81169ae64872eaa99304df70422f9c674755d0c5.tar.bz2 |
microblaze: Add comment about reset location
Better to add comment to explain why reset vector points all the time to
origin U-Boot location.
If reset happens U-Boot should start from it's origin location.
Signed-off-by: Michal Simek <michal.simek@amd.com>
Link: https://lore.kernel.org/r/5ca6341b7487708247fe2948d7e496ea6f7c2e02.1655299267.git.michal.simek@amd.com
Diffstat (limited to 'arch/microblaze')
-rw-r--r-- | arch/microblaze/cpu/start.S | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/microblaze/cpu/start.S b/arch/microblaze/cpu/start.S index db3998f..9aa5fd0 100644 --- a/arch/microblaze/cpu/start.S +++ b/arch/microblaze/cpu/start.S @@ -144,6 +144,7 @@ __setup_exceptions: swi r3, r4, 0x4 /* reset address - brai opcode */ addik r6, r0, _start + /* Intentionally keep reset vector back to origin u-boot location */ sw r6, r1, r0 lhu r7, r1, r10 rsubi r8, r10, 0x2 |