]> git.dujemihanovic.xyz Git - u-boot.git/commit
imx: spl: Allow iMX7/8/8M to overwrite spl_board_boot_device
authorYe Li <ye.li@nxp.com>
Tue, 26 Jul 2022 08:40:34 +0000 (16:40 +0800)
committerStefano Babic <sbabic@denx.de>
Tue, 26 Jul 2022 09:29:00 +0000 (11:29 +0200)
commitbf43907f6e3280646116bded58e74b509f5eaed1
tree945c3a5863411bee94cc5542ba8a78b07e725e9e
parent9270cc8f3b0aeea05ee012b61b88c065c0a7785f
imx: spl: Allow iMX7/8/8M to overwrite spl_board_boot_device

Move the default mapping of spl_boot_device to weak function of
spl_board_boot_device. So that every board of iMX7/8/8M can overwrite
this function to implement specific mapping.

Reviewed-by: Peng Fan <peng.fan@nxp.com>
Signed-off-by: Ye Li <ye.li@nxp.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
arch/arm/mach-imx/spl.c