Nokia RX-51: Simplify calculation of attached kernel image address
authorPali Rohár <pali@kernel.org>
Thu, 11 Aug 2022 20:27:24 +0000 (22:27 +0200)
committerTom Rini <trini@konsulko.com>
Sat, 20 Aug 2022 20:17:50 +0000 (16:17 -0400)
commit0ba6ce4b7889dc74a646cf54ea97a9d48428bcfe
tree04c24959a958725a473cbdfc2f888157649fdffd
parent04bd87c24c31bbd8f27f6d1f7484c9a17f622c9a
Nokia RX-51: Simplify calculation of attached kernel image address

Now when board starup code does not copy image to CONFIG_SYS_TEXT_BASE
address there is no need to calculate all addresses from base address at
runtime. The only address which needs to be calculated is attached kernel
image address which can be simplified at compile time without need to know
CONFIG_SYS_TEXT_BASE address or relocation address at the runtime.

Signed-off-by: Pali Rohár <pali@kernel.org>
board/nokia/rx51/lowlevel_init.S