]> err.no Git - linux-2.6/commit
sh: Fix up r7780rp highlander CF access size.
authorPaul Mundt <lethal@linux-sh.org>
Fri, 2 Nov 2007 05:17:19 +0000 (14:17 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Fri, 2 Nov 2007 05:17:19 +0000 (14:17 +0900)
commitb5751e2e00cb88b34ac1ebfa9ec4496db4dee098
tree14c2450aadaaa2d76d901664c0c2e904ffbe698a
parentf38c5a696a1e775c70d8764b1b9c1a4e267448d3
sh: Fix up r7780rp highlander CF access size.

R7780RP can't do byte-sized accesses to CF, so needs to do word
sized access with low-byte masking. This same problem exists
on older versions of the R2D, with the same workaround having
been implemented in 43f4b8c7578b928892b6f01d374346ae14e5eb70
there. Follow that change for the highlander boards.

This does not impact R7780MP or SH7785 based Highlander modules.

If you're unfortunate enough to be stuck with an R7780RP, this
patch is for you!

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/boards/renesas/r7780rp/setup.c