]> git.baikalelectronics.ru Git - uboot.git/commit
mmc: fsl_esdhc_spl: pre-PBL: implement redundancy support
authorPali Rohár <pali@kernel.org>
Mon, 4 Apr 2022 16:33:11 +0000 (18:33 +0200)
committerPriyanka Jain <priyanka.jain@nxp.com>
Tue, 26 Apr 2022 11:48:39 +0000 (17:18 +0530)
commitd1c4d1f26b317590f981e7f78b179dbbcd51bc98
tree15938537370beee667ddc3cf802fe00bf8eafd23
parent43350a4ffb0c82613bdc009ab8ce136f2c03d49c
mmc: fsl_esdhc_spl: pre-PBL: implement redundancy support

QorIQ pre-PBL BootROM scans first 24 SD card sectors (each with fixed 512
bytes length) for boot signature. Implement same redundancy behavior in
fsl_esdhc_spl driver to allow loading proper U-Boot when boot sector is not
the first one.

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