]> git.baikalelectronics.ru Git - kernel.git/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)
commit62a0e255261fac8a6f5cda23a2342e13796b3b20
tree14c2450aadaaa2d76d901664c0c2e904ffbe698a
parent9c9b46c612fd62f66b01e32027f614850521a31b
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 0801e233f7496eacdcc19aa2d7c19b61838e064c
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