]> git.dujemihanovic.xyz Git - u-boot.git/commit
spl: mmc: Factor out eMMC boot partition selection code
authorMarek Vasut <marex@denx.de>
Sat, 3 Jul 2021 02:55:32 +0000 (04:55 +0200)
committerStefano Babic <sbabic@denx.de>
Sat, 10 Jul 2021 16:12:42 +0000 (18:12 +0200)
commit9b19159174f72655e59ddc94ed79c21c01a80539
treee76356afd134f556dc5748b3224cf4b035aa34cc
parentd107235a38920dcff8f35fefafeebd3479411513
spl: mmc: Factor out eMMC boot partition selection code

Factor out eMMC boot partition selection code into
default_spl_mmc_emmc_boot_partition() function and implement
weak spl_mmc_emmc_boot_partition(), so that architecture or
board code can override the eMMC boot partition selection.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Faiz Abbas <faiz_abbas@ti.com>
Cc: Harald Seiler <hws@denx.de>
Cc: Lokesh Vutla <lokeshvutla@ti.com>
Cc: Simon Glass <sjg@chromium.org>
Cc: Fabio Estevam <festevam@gmail.com>
Cc: Peng Fan <peng.fan@nxp.com>
Cc: Stefano Babic <sbabic@denx.de>
Cc: Ye Li <ye.li@nxp.com>
Reviewed-by: Jaehoon Chung <jh80.chung@samsung.com>
common/spl/spl_mmc.c
include/spl.h