From: Thomas Petazzoni Date: Thu, 22 Nov 2012 17:16:37 +0000 (+0100) Subject: dma: mv_xor: clear the window override control registers X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~12^2~1^2^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c4b4b732b2e99e6e302d90d57f2a4f5c9516d9a3;p=pandora-kernel.git dma: mv_xor: clear the window override control registers The XOR channels on Marvell SoCs have a Window Override Control register that allow to do some fancy things with addresses. Those features are not used by the driver, but some U-Boot versions anyway modify those registers. For some reason, the U-Boot on OpenBlocks AX3-4 was setting an invalid value in those registers when the addition 2 GB DRAM chip was plugged into the board, causing the XOR driver to fail in using the XOR engines. By setting those registers to 0 during the driver initialization, we ensure that the registers are configured according with the driver operation model. Thanks to Lior Amsalem for his help in debugging this problem. Signed-off-by: Thomas Petazzoni --- Reading git-diff-tree failed