[U-Boot] [PATCH v2] arm, imx6: fix NOR/OneNAND boot mode mix-up

Jay Carlson jay.d.carlson at gmail.com
Fri May 25 17:38:30 UTC 2018


From: Jay Carlson <jcarlson at unl.edu>

This patch fixes the ordering of the EMI enum to match Table 8-8 in 
the i.MX6ULL Reference Manual, and has been spot-checked in two other 
i.MX reference manuals for accuracy.

Signed-off-by: Jay Carlson <jay.d.carlson at gmail.com>
---
 arch/arm/include/asm/mach-imx/sys_proto.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/include/asm/mach-imx/sys_proto.h b/arch/arm/include/asm/mach-imx/sys_proto.h
index d1d6cbc462..0acc3640f9 100644
--- a/arch/arm/include/asm/mach-imx/sys_proto.h
+++ b/arch/arm/include/asm/mach-imx/sys_proto.h
@@ -63,8 +63,8 @@ enum imx6_bmode_serial_rom {
 };
 
 enum imx6_bmode_emi {
-	IMX6_BMODE_ONENAND,
 	IMX6_BMODE_NOR,
+	IMX6_BMODE_ONENAND
 };
 
 enum imx6_bmode {
-- 
2.16.1.windows.4



More information about the U-Boot mailing list