Skip to content
Snippets Groups Projects
Commit 2f795ac7 authored by Simon Guinot's avatar Simon Guinot Committed by Albert ARIBAUD
Browse files

mv-common.h: fix DRAM banks configuration


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: default avatarSimon Guinot <sguinot@lacie.com>
parent 29d53d19
No related branches found
No related tags found
No related merge requests found
...@@ -113,6 +113,9 @@ ...@@ -113,6 +113,9 @@
#define CONFIG_SYS_RESET_ADDRESS 0xffff0000 /* Rst Vector Adr */ #define CONFIG_SYS_RESET_ADDRESS 0xffff0000 /* Rst Vector Adr */
#define CONFIG_SYS_MAXARGS 16 /* max number of command args */ #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 * DRAM Banks configuration, Custom config can be done in <board>.h
*/ */
...@@ -124,10 +127,7 @@ ...@@ -124,10 +127,7 @@
#endif #endif
#endif /* CONFIG_NR_DRAM_BANKS */ #endif /* CONFIG_NR_DRAM_BANKS */
/* ====> Include platform Common Definations */ /* ====> Include driver Common Definitions */
#include <asm/arch/config.h>
/* ====> Include driver Common Definations */
/* /*
* Common NAND configuration * Common NAND configuration
*/ */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment