]> git.baikalelectronics.ru Git - uboot.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)
commit8200d2d9af12a1a07ab740bbe5f052bb1124fdc0
treeb334343a1f01382f027fd7aebe8b0a30e112c3c8
parent5032cd1af989ea7b0e8a2dc2ef3db6c96123e924
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