Mini2440: Fix leftover from A9M2440 copy

Juergen Beisert jbe at pengutronix.de
Sat Nov 26 13:30:29 EST 2011


These symbols where defined for the A9M2440 platform. Rename them to the
platform they now belong to.

Signed-off-by: Juergen Beisert <jbe at pengutronix.de>

---
 arch/arm/boards/mini2440/config.h   |    9 +++++----
 arch/arm/boards/mini2440/mini2440.c |    3 ++-
 2 files changed, 7 insertions(+), 5 deletions(-)

Index: barebox-git/arch/arm/boards/mini2440/config.h
===================================================================
--- barebox-git.orig/arch/arm/boards/mini2440/config.h
+++ barebox-git/arch/arm/boards/mini2440/config.h
@@ -61,13 +61,14 @@
  * Twrph1 = 1 (-> 20ns)
  * Cycle time = 80ns
  */
-#define A9M2440_TACLS 1
-#define A9M2440_TWRPH0 3
-#define A9M2440_TWRPH1 1
+#define MINI2440_TACLS 1
+#define MINI2440_TWRPH0 3
+#define MINI2440_TWRPH1 1
 
 /* needed in the generic NAND boot code only */
 #ifdef CONFIG_S3C24XX_NAND_BOOT
-# define BOARD_DEFAULT_NAND_TIMING CALC_NFCONF_TIMING(A9M2440_TACLS, A9M2440_TWRPH0, A9M2440_TWRPH1)
+# define BOARD_DEFAULT_NAND_TIMING \
+	CALC_NFCONF_TIMING(MINI2440_TACLS, MINI2440_TWRPH0, MINI2440_TWRPH1)
 #endif
 
 /*
Index: barebox-git/arch/arm/boards/mini2440/mini2440.c
===================================================================
--- barebox-git.orig/arch/arm/boards/mini2440/mini2440.c
+++ barebox-git/arch/arm/boards/mini2440/mini2440.c
@@ -45,7 +45,8 @@
 #include <mach/fb.h>
 
 static struct s3c24x0_nand_platform_data nand_info = {
-	.nand_timing = CALC_NFCONF_TIMING(A9M2440_TACLS, A9M2440_TWRPH0, A9M2440_TWRPH1),
+	.nand_timing = CALC_NFCONF_TIMING(MINI2440_TACLS, MINI2440_TWRPH0,
+							MINI2440_TWRPH1),
 	.flash_bbt = 1,	/* same as the kernel */
 };
 

-- 
Pengutronix e.K.                              | Juergen Beisert             |
Linux Solutions for Science and Industry      | http://www.pengutronix.de/  |



More information about the barebox mailing list