Skip to content
Snippets Groups Projects
Commit 136c69ad authored by Steve Sakoman's avatar Steve Sakoman Committed by Wolfgang Denk
Browse files

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: default avatarPeter Maydell <peter.maydell@linaro.org>
Signed-off-by: default avatarSteve Sakoman <steve.sakoman@linaro.org>
parent 68b0fbf0
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment