board: freescale: p1_p2_rdb_pc: Simplify SPL offset macros
authorPali Rohár <pali@kernel.org>
Thu, 28 Jul 2022 03:10:12 +0000 (11:10 +0800)
committerPeng Fan <peng.fan@nxp.com>
Fri, 29 Jul 2022 11:49:13 +0000 (19:49 +0800)
commit3982e761dcdec45db17207dee3851397fe23f45d
tree38ceead9265049da7296208cb95f86305b3ca6c2
parent78aa3fb15eb7f9c0a1b646a5e54c3dd2195b4afb
board: freescale: p1_p2_rdb_pc: Simplify SPL offset macros

Now when CONFIG_SYS_TEXT_BASE has sane value, use it for calculation of
other SPL offset values: CONFIG_SPL_MAX_SIZE, CONFIG_SYS_MMC_U_BOOT_* and
CONFIG_SYS_SPI_FLASH_U_BOOT_* macros.

No functional change.

Signed-off-by: Pali Rohár <pali@kernel.org>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
include/configs/p1_p2_rdb_pc.h