]> git.baikalelectronics.ru Git - uboot.git/commit
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)
commitafd661e9654c1ca28813478d6c6dc4842d040dc4
tree38ceead9265049da7296208cb95f86305b3ca6c2
parent3859b7182c347df5e69f98ca246e4fd50422ee90
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