summaryrefslogtreecommitdiff
path: root/tools/env
diff options
context:
space:
mode:
authorTom Rini <trini@ti.com>2012-01-18 08:28:50 +0000
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>2012-02-12 10:11:23 +0100
commit0ae056510fa516893ce3cc6c61b4e914f028d9e0 (patch)
treed1237712ab90fee4f0fddd237a859fa460bc99e1 /tools/env
parent223b8aa42c0f4bf9b4a7a71c16d0f67b5faf5045 (diff)
downloadu-boot-imx-0ae056510fa516893ce3cc6c61b4e914f028d9e0.zip
u-boot-imx-0ae056510fa516893ce3cc6c61b4e914f028d9e0.tar.gz
u-boot-imx-0ae056510fa516893ce3cc6c61b4e914f028d9e0.tar.bz2
OMAP3: Correct get_sdr_cs_offset mask
The function get_sdr_cs_offset reads the CS_CFG register in the SDRC to determine where CS1 is mapped to. make_cs1_contiguous() will set CS1 to follow after CS0. The CS_CFG register has values in bits 9:8 and 3:0 but we had erroneously been testing 5:4 and 3:0 resulting in incorrect offsets on platforms with less than 128MB as 3:0 describe 128MB hunks and 9:8 describe 32MB offsets after the 128MB hunk. Tested-by: Grant Erickson <marathon96@gmail.com> Signed-off-by: Tom Rini <trini@ti.com>
Diffstat (limited to 'tools/env')
0 files changed, 0 insertions, 0 deletions