]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
imx: spl: use spl_board_boot_device for i.MX8MN
authorPeng Fan <peng.fan@nxp.com>
Mon, 16 Sep 2019 03:09:29 +0000 (03:09 +0000)
committerStefano Babic <sbabic@denx.de>
Tue, 5 Nov 2019 09:27:18 +0000 (10:27 +0100)
i.MX8MN follow same logic as i.MX8MM, so use spl_board_boot_device

Signed-off-by: Peng Fan <peng.fan@nxp.com>
arch/arm/mach-imx/spl.c

index 5cc74b6f9b0f1ec34fc1f9796caaabd8bf33695d..dde1635a9da04c93b13f7350c2a0b2a8de1fd752 100644 (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) {