]> git.sur5r.net Git - u-boot/commitdiff
mv-common.h: fix DRAM banks configuration
authorSimon Guinot <sguinot@lacie.com>
Tue, 3 May 2011 15:47:34 +0000 (21:17 +0530)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Wed, 11 May 2011 21:03:16 +0000 (23:03 +0200)
The asm/arch/config.h header define CONFIG_NR_DRAM_BANKS_MAX, which is
needed to configure DRAM banks.

This patch move the asm/arch/config.h header inclusion above the DRAM
banks configuration.

Additionally this patch fix a typo.

Signed-off-by: Simon Guinot <sguinot@lacie.com>
include/configs/mv-common.h

index a8937dde2d481853a19ca3e96534e3475797abb7..0a392579557717eab5fe8cf89c9cf923bc8b0d9b 100644 (file)
 #define CONFIG_SYS_RESET_ADDRESS 0xffff0000    /* Rst Vector Adr */
 #define CONFIG_SYS_MAXARGS     16      /* max number of command args */
 
+/* ====> Include platform Common Definitions */
+#include <asm/arch/config.h>
+
 /*
  * DRAM Banks configuration, Custom config can be done in <board>.h
  */
 #endif
 #endif /* CONFIG_NR_DRAM_BANKS */
 
-/* ====> Include platform Common Definations */
-#include <asm/arch/config.h>
-
-/* ====> Include driver Common Definations */
+/* ====> Include driver Common Definitions */
 /*
  * Common NAND configuration
  */