]> git.ipfire.org Git - people/ms/u-boot.git/commit
wandboard: Fix hang when going into low frequency
authorFabio Estevam <fabio.estevam@nxp.com>
Mon, 12 Sep 2016 14:38:36 +0000 (11:38 -0300)
committerStefano Babic <sbabic@denx.de>
Tue, 4 Oct 2016 10:01:14 +0000 (12:01 +0200)
commitba4e159f9804c02a87ed38be0ed669a348d78f25
tree2fa21834b34f5ceb90b097dd6f63ab937da15625
parent53fec162061811a73c7dab3207f8fdb2343ae289
wandboard: Fix hang when going into low frequency

A kernel hang is observed when running wandboard 3.14 kernel and
going to the lowest operational point of cpufreq:

# ifconfig eth0 down
# echo 1 > /sys/class/graphics/fb0/blank

The problem is caused by incorrect setting of the REFR field
of register MDREF. Setting it to 4 refresh commands per refresh
cycle fixes the hang.

Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
board/wandboard/spl.c