mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* Mini2440: Fix leftover from A9M2440 copy
@ 2011-11-26 18:30 Juergen Beisert
  0 siblings, 0 replies; only message in thread
From: Juergen Beisert @ 2011-11-26 18:30 UTC (permalink / raw)
  To: barebox

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

Signed-off-by: Juergen Beisert <jbe@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/  |

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2011-11-26 18:31 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-11-26 18:30 Mini2440: Fix leftover from A9M2440 copy Juergen Beisert

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox