From: Simon Guinot Date: Tue, 3 May 2011 15:47:34 +0000 (+0530) Subject: mv-common.h: fix DRAM banks configuration X-Git-Tag: v2011.06-rc1~66^2~4 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=2f795ac74eceea36199f07b385d2c85f61396a04;p=u-boot 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: Simon Guinot --- diff --git a/include/configs/mv-common.h b/include/configs/mv-common.h index a8937dde2d..0a39257955 100644 --- a/include/configs/mv-common.h +++ b/include/configs/mv-common.h @@ -113,6 +113,9 @@ #define CONFIG_SYS_RESET_ADDRESS 0xffff0000 /* Rst Vector Adr */ #define CONFIG_SYS_MAXARGS 16 /* max number of command args */ +/* ====> Include platform Common Definitions */ +#include + /* * DRAM Banks configuration, Custom config can be done in .h */ @@ -124,10 +127,7 @@ #endif #endif /* CONFIG_NR_DRAM_BANKS */ -/* ====> Include platform Common Definations */ -#include - -/* ====> Include driver Common Definations */ +/* ====> Include driver Common Definitions */ /* * Common NAND configuration */