]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
SPL: ONENAND: Fix some ONENAND related defines.
authorEnric Balletbo i Serra <eballetbo@iseebcn.com>
Thu, 7 Feb 2013 23:14:46 +0000 (23:14 +0000)
committerTom Rini <trini@ti.com>
Fri, 8 Mar 2013 21:41:14 +0000 (16:41 -0500)
Some ONENAND related defines use the term ONE_NAND instead of
ONENAND, as the technology name is ONENAND this patch replaces
all these defines.

Signed-off-by: Enric Balletbo i Serra <eballetbo@iseebcn.com>
arch/arm/cpu/arm1136/mx35/generic.c
arch/arm/include/asm/arch-mx35/spl.h
arch/arm/include/asm/arch-omap3/spl.h
arch/arm/include/asm/arch-omap4/spl.h
arch/arm/include/asm/arch-omap5/spl.h

index d11e6f6270cd4b3c5a2e8b5b99380a7a61045536..46f4b64ff46194f998212604e092123723f80919 100644 (file)
@@ -519,7 +519,7 @@ u32 spl_boot_device(void)
                case RCSR_MEM_TYPE_NOR:
                        return BOOT_DEVICE_NOR;
                case RCSR_MEM_TYPE_ONENAND:
-                       return BOOT_DEVICE_ONE_NAND;
+                       return BOOT_DEVICE_ONENAND;
                default:
                        return BOOT_DEVICE_NONE;
                }
index 91d11ae847c73a441852d3d18d645578862ebd28..3ca4c94680639bac811e1c8186654b4d29446268 100644 (file)
@@ -27,7 +27,7 @@
 #define BOOT_DEVICE_XIP                1
 #define BOOT_DEVICE_XIPWAIT    2
 #define BOOT_DEVICE_NAND       3
-#define BOOT_DEVICE_ONE_NAND   4
+#define BOOT_DEVICE_ONENAND    4
 #define BOOT_DEVICE_MMC1       5
 #define BOOT_DEVICE_MMC2       6
 #define BOOT_DEVICE_MMC2_2     7
index 404e16a5a0669d2131a28b55d0a14e32b5c58cab..dec4dacbad53f6837ec86543d5e66a78b20212e6 100644 (file)
@@ -26,7 +26,7 @@
 #define BOOT_DEVICE_NONE       0
 #define BOOT_DEVICE_XIP                1
 #define BOOT_DEVICE_NAND       2
-#define BOOT_DEVICE_ONE_NAND   3
+#define BOOT_DEVICE_ONENAND    3
 #define BOOT_DEVICE_MMC2       5 /*emmc*/
 #define BOOT_DEVICE_MMC1       6
 #define BOOT_DEVICE_XIPWAIT    7
index cec84dc548c637d9025f0cf9ac946841b5ff4e95..4e094f9c60396fc90cdfd855e8121116dc9ae211 100644 (file)
@@ -27,7 +27,7 @@
 #define BOOT_DEVICE_XIP                1
 #define BOOT_DEVICE_XIPWAIT    2
 #define BOOT_DEVICE_NAND       3
-#define BOOT_DEVICE_ONE_NAND   4
+#define BOOT_DEVICE_ONENAND    4
 #define BOOT_DEVICE_MMC1       5
 #define BOOT_DEVICE_MMC2       6
 #define BOOT_DEVICE_MMC2_2     0xFF
index d125c61f4c1098121a1a2ad78c1763053d613153..323cd6355173532d3fcaec57cb0e1b0e9c0dc36d 100644 (file)
@@ -27,7 +27,7 @@
 #define BOOT_DEVICE_XIP         1
 #define BOOT_DEVICE_XIPWAIT     2
 #define BOOT_DEVICE_NAND        3
-#define BOOT_DEVICE_ONE_NAND    4
+#define BOOT_DEVICE_ONENAND    4
 #define BOOT_DEVICE_MMC1        5
 #define BOOT_DEVICE_MMC2        6
 #define BOOT_DEVICE_MMC2_2     7