TI: armv7: Do not define the number DRAM banks if is already defined.
authorEnric Balletbò i Serra <eballetbo@gmail.com>
Fri, 6 Dec 2013 20:30:21 +0000 (21:30 +0100)
committerTom Rini <trini@ti.com>
Fri, 24 Jan 2014 16:38:39 +0000 (11:38 -0500)
commitc6a7fce1138596b9e91727c32da2c2faa3bb481f
treef23e8551afb72a4f07a01accbd226ccd947c33bc
parent70e71b61bca9c44708a449461f0dc5a51d7cf622
TI: armv7: Do not define the number DRAM banks if is already defined.

If CONFIG_NR_DRAM_BANKS is not defined, we say (for simplicity) that we have
1 bank, but for some boards should be interesting that we can define
CONFIG_NR_DRAM_BANKS. To handle this possibility just define the number of
DRAM banks if is not already defined. This is useful for some OMAP3 boards
where the DRAM initialitzation is only at u-boot level.

Signed-off-by: Enric Balletbo i Serra <eballetbo@gmail.com>
include/configs/ti_armv7_common.h