]> git.baikalelectronics.ru Git - uboot.git/commit
mmc: fsl_esdhc_spl: pre-PBL: check for BOOT signature instead of MBR/DBR
authorPali Rohár <pali@kernel.org>
Sat, 2 Apr 2022 22:16:59 +0000 (00:16 +0200)
committerPriyanka Jain <priyanka.jain@nxp.com>
Tue, 26 Apr 2022 11:48:39 +0000 (17:18 +0530)
commit921d227fda51bee78f3af19e641f8960bd5bcbe7
treef96480afd671ba41d58d51030407f22291c5444d
parent0776e52daae1f3a10f9d6b7270aa6a74f3c390d1
mmc: fsl_esdhc_spl: pre-PBL: check for BOOT signature instead of MBR/DBR

Pre-PBL BootROMs (MPC8536E, MPC8569E, P2020, P1011, P1012, P1013, P1020,
P1021, P1022) require custom BOOT signature on sector 0 and MBR/DBR
signature is not required at all.

So add check for BOOT signature and remove check for MBR/DBR.

This allows U-Boot SPL to load proper U-Boot on pre-PBL BootROMs platforms
also from SD cards which do not have MBR/DBR signature on sector 0.

Signed-off-by: Pali Rohár <pali@kernel.org>
Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
drivers/mmc/fsl_esdhc_spl.c