From: Peng Fan Date: Mon, 16 Sep 2019 03:09:29 +0000 Subject: [U-Boot] [PATCH 07/17] imx: spl: use spl_board_boot_device for i.MX8MN In-Reply-To: <20190916032545.15831-1-peng.fan@nxp.com> References: <20190916032545.15831-1-peng.fan@nxp.com> Message-ID: <20190916032545.15831-8-peng.fan@nxp.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de i.MX8MN follow same logic as i.MX8MM, so use spl_board_boot_device Signed-off-by: Peng Fan --- arch/arm/mach-imx/spl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-imx/spl.c b/arch/arm/mach-imx/spl.c index 7ada60d7a2..15abf98649 100644 --- a/arch/arm/mach-imx/spl.c +++ b/arch/arm/mach-imx/spl.c @@ -132,7 +132,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) { -- 2.16.4