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:
parent
59e9da7af0
commit
a92c7b144f
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user