]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
imx: cpu: restrict get_boot_device
authorPeng Fan <peng.fan@nxp.com>
Mon, 16 Sep 2019 03:09:34 +0000 (03:09 +0000)
committerStefano Babic <sbabic@denx.de>
Tue, 5 Nov 2019 09:27:18 +0000 (10:27 +0100)
i.MX8MN has its own get_boot_device, so restrict with i.MX8MQ and
i.MX8MM.

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

index 4db37c7a46067c84ee3832490c8f68631c2a99fa..51c7c05f04dac385c1a678e0e3e04e9f7107d4ab 100644 (file)
@@ -377,7 +377,7 @@ u32 get_cpu_temp_grade(int *minc, int *maxc)
 }
 #endif
 
-#if defined(CONFIG_MX7) || defined(CONFIG_IMX8M)
+#if defined(CONFIG_MX7) || defined(CONFIG_IMX8MQ) || defined(CONFIG_IMX8MM)
 enum boot_device get_boot_device(void)
 {
        struct bootrom_sw_info **p =