imx: spl: use spl_board_boot_device for i.MX8MN

i.MX8MN follow same logic as i.MX8MM, so use spl_board_boot_device

Signed-off-by: Peng Fan <peng.fan@nxp.com>
This commit is contained in:
Peng Fan 2019-09-16 03:09:29 +00:00 committed by Stefano Babic
parent 59e9da7af0
commit a92c7b144f

View File

@ -135,7 +135,7 @@ u32 spl_boot_device(void)
enum boot_device boot_device_spl = get_boot_device();
if (IS_ENABLED(CONFIG_IMX8MM))
if (IS_ENABLED(CONFIG_IMX8MM) || IS_ENABLED(CONFIG_IMX8MN))
return spl_board_boot_device(boot_device_spl);
switch (boot_device_spl) {