]> git.baikalelectronics.ru Git - uboot.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)
commitc20816608ee679cec10a77f60084baa79e74e055
tree945c3a5863411bee94cc5542ba8a78b07e725e9e
parent8331b5895c9500376bfee9b351dfa38ebf33ee4b
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