microblaze: Optimize register usage in relocate_code
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)
commit3041b512ebed13e29144cf5b9524e714c4aa458e
treea905c245a7fe3c51070b51c0032bc46f06ccf52e
parent532ad5f84163cdf010e0181e2f9c3fbb1eac88d6
microblaze: Optimize register usage in relocate_code

There are additional operations which can be done simpler that's why
improve logic around relocation address r7 handling and _start symbol.

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