summaryrefslogtreecommitdiff
path: root/lib/linux_string.c
diff options
context:
space:
mode:
authorFabio Estevam <[email protected]>2016-08-15 10:07:12 -0300
committerStefano Babic <[email protected]>2016-09-06 18:22:48 +0200
commit693779e3713701e5b06afc4540faeaef1841f254 (patch)
treee71e6951a1f06bfabc088e4a95b520077792eb2b /lib/linux_string.c
parent7d301a594d24e4ed63b3099cdb9e09249f945def (diff)
warp: Fix RAM size runtime detection
Since commit a13d3757f7df ("warp: Use imx_ddr_size() for calculating the DDR size") warp board no longer boots. The reason for the breakage is that the warp board is using the DDR configuration from mx6slevk. A fundamental difference between warp and mx6slevk is that warp only uses one DDR chip select while mx6slevk uses two. The imx_ddr() function calculates the RAM size in runtime by reading the values of registers MDCTL and MDMISC. So in order to fix this warp boot issue, create a imximage DDR file specific to warp, where the MDCTL register is configured to only activates a single chip select. Reported-by: Breno Lima <[email protected]> Signed-off-by: Fabio Estevam <[email protected]> Tested-by: Breno Lima <[email protected]>
Diffstat (limited to 'lib/linux_string.c')
0 files changed, 0 insertions, 0 deletions