]> git.dujemihanovic.xyz Git - u-boot.git/commit
microblaze: Remove _start symbol handling at U-Boot start
authorMichal Simek <michal.simek@amd.com>
Fri, 24 Jun 2022 12:15:00 +0000 (14:15 +0200)
committerMichal Simek <michal.simek@amd.com>
Fri, 24 Jun 2022 12:15:00 +0000 (14:15 +0200)
commitb6fe10afe99c708a1dbb2d01be084aca32521651
treeb334343a1f01382f027fd7aebe8b0a30e112c3c8
parent986727ca11425942807e226fe50c16e4b223a4e5
microblaze: Remove _start symbol handling at U-Boot start

Right now U-Boot runs all the time from the same address where it is loaded
but going to full relocation code starting address doesn't need to be fixed
and can be simply discovered from reading PC register. That's why use r20
to get PC address and subtract offset from the beginning to get starting
address.

Signed-off-by: Michal Simek <michal.simek@amd.com>
Link: https://lore.kernel.org/r/044b727c33dfbe662f68512d0da0775a4805f360.1655299267.git.michal.simek@amd.com
arch/microblaze/cpu/start.S