MLK-19219-1 spl: Add function to get u-boot raw sector
authorYe Li <ye.li@nxp.com>
Tue, 14 Aug 2018 10:52:16 +0000 (03:52 -0700)
committerYe Li <ye.li@nxp.com>
Fri, 24 May 2019 09:36:38 +0000 (02:36 -0700)
commit400c6afbaf6500f3bff57338745275fe940cb991
treec5795d6022acdf088cdb8dd1b56c6abdf03b7840
parentd18597669c701aebbf0a29c22f68a2347ea4eaf2
MLK-19219-1 spl: Add function to get u-boot raw sector

Add a weak function spl_mmc_get_uboot_raw_sector to get u-boot raw sector.
At default it returns CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR. Users
can overwrite it to return customized offset.

Signed-off-by: Ye Li <ye.li@nxp.com>
(cherry picked from commit 9f2ffbe41493fb9233d79e2933e337d7a6c2e20a)
common/spl/spl_mmc.c