board: freescale: p1_p2_rdb_pc: Calculate offsets for eSDHC boot sector
authorPali Rohár <pali@kernel.org>
Mon, 1 Aug 2022 12:50:12 +0000 (14:50 +0200)
committerPeng Fan <peng.fan@nxp.com>
Wed, 7 Sep 2022 03:47:30 +0000 (11:47 +0800)
commit33043b396cae4d6b464592dd17bba075c9215826
treefccece7d558487be51ec0972610c5d45bb022173
parent645993bdd758067941c1e121ec218027ad0ece68
board: freescale: p1_p2_rdb_pc: Calculate offsets for eSDHC boot sector

Correctly calculate offsets between SPL and proper U-Boot when new config
option CONFIG_FSL_PREPBL_ESDHC_BOOT_SECTOR for generating eSDHC boot sector
is enabled. Otherwise SPL would not be able to boot proper U-Boot.

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