commit | 136c69ad7917f23d401c3a794cd0f5a4ab2230de | [log] [tgz] |
---|---|---|
author | Steve Sakoman <steve@sakoman.com> | Thu Sep 30 21:46:52 2010 -0700 |
committer | Wolfgang Denk <wd@denx.de> | Sun Oct 17 20:14:28 2010 +0200 |
tree | 708e60521d653e80d6a01263cbc399e803843c92 | |
parent | 68b0fbf08574ac2314919ce8fad9a1965041cc44 [diff] |
ARMV7: OMAP3: Fix bug in get_sdr_cs_offset() This patch fixes a typo in the routine to calculate the cs offset based upon the contents of the SDRC cs_cfg register. This function mistakenly shifts the CS1STARTLOW field 17 bits right instead of 17 bits left. This hasn't been an issue to date because all OMAP3 boards currently are configured to have zeros in this field. Reported-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Steve Sakoman <steve.sakoman@linaro.org>