am335x_evm / gumstix pepper: Correct DDR settings
authorTom Rini <trini@ti.com>
Tue, 8 Jul 2014 01:40:16 +0000 (21:40 -0400)
committerTom Rini <trini@ti.com>
Fri, 25 Jul 2014 20:26:08 +0000 (16:26 -0400)
commitc4f80f500356a8e0a71debe5bbe6e9a0d6d5d62e
tree29f973053d1afac41e1f69c43d083f473bc40853
parentc6ac7e3bdc195a7dd39b5bf699deceedb9444c0c
am335x_evm / gumstix pepper: Correct DDR settings

As noted by clang, we have been shifting certain values out of 32bit
range when setting some DDR registers.  Upon further inspection these
had been touching reserved fields (and having no impact).  These came in
from historical bring-up code and can be discarded.  Similarly, we had
been declaring some fields as 0 when they will be initialized that way.
Tested on Beaglebone White.

Reported-by: Jeroen Hofstee <jeroen@myspectrum.nl>
Cc: Ash Charles <ash@gumstix.com>
Signed-off-by: Tom Rini <trini@ti.com>
Tested-By: Ash Charles <ashcharles@gmail.com>
arch/arm/include/asm/arch-am33xx/ddr_defs.h
board/gumstix/pepper/board.c
board/ti/am335x/board.c