sh: rework mode pin code
authorMagnus Damm <damm@igel.co.jp>
Tue, 2 Jun 2009 09:22:02 +0000 (09:22 +0000)
committerPaul Mundt <lethal@linux-sh.org>
Thu, 11 Jun 2009 06:08:53 +0000 (09:08 +0300)
commit0d4fdbb64f472ef31195714993f1263f77cf85ca
tree2cfa619828ac2430919b3d716635e9ebf6f00a47
parent2693e2740ddae364a80e6083043ba760b6366b69
sh: rework mode pin code

This patch reworks the mode pin code to keep the pin
definitions in one place. The mode pins values are now
the value of the bit instead of bit number.

With this patch in place the sh7785 header file contains
mode pin comments. The sh7785 clock code and the sh7785lcr
board code are updated to reflect the new shared mode pins.

Signed-off-by: Magnus Damm <damm@igel.co.jp>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/boards/board-sh7785lcr.c
arch/sh/include/asm/processor.h
arch/sh/include/cpu-sh4/cpu/sh7785.h
arch/sh/kernel/cpu/sh4a/clock-sh7785.c
arch/sh/kernel/setup.c