From: Peng Fan Date: Mon, 16 Sep 2019 03:09:29 +0000 (+0000) Subject: imx: spl: use spl_board_boot_device for i.MX8MN X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=a92c7b144faa1c39e9729131595eb9ab3dc88577;p=u-boot.git 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 --- diff --git a/arch/arm/mach-imx/spl.c b/arch/arm/mach-imx/spl.c index 5cc74b6f9b..dde1635a9d 100644 --- a/arch/arm/mach-imx/spl.c +++ b/arch/arm/mach-imx/spl.c @@ -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) {