imx: spl: support i.MX8MP spl_boot_device
authorPeng Fan <peng.fan@nxp.com>
Fri, 27 Dec 2019 02:27:49 +0000 (10:27 +0800)
committerStefano Babic <sbabic@denx.de>
Wed, 8 Jan 2020 12:20:08 +0000 (13:20 +0100)
i.MX8MP follows i.MX8MN, so just let it use spl_board_boot_device

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

index dde1635a9da04c93b13f7350c2a0b2a8de1fd752..5a6493a6250a3819bf70f3172d365aa6a607dcaa 100644 (file)
@@ -135,7 +135,8 @@ u32 spl_boot_device(void)
 
        enum boot_device boot_device_spl = get_boot_device();
 
-       if (IS_ENABLED(CONFIG_IMX8MM) || IS_ENABLED(CONFIG_IMX8MN))
+       if (IS_ENABLED(CONFIG_IMX8MM) || IS_ENABLED(CONFIG_IMX8MN) ||
+           IS_ENABLED(CONFIG_IMX8MP))
                return spl_board_boot_device(boot_device_spl);
 
        switch (boot_device_spl) {