summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-shmobile/pfc-sh7377.c
diff options
context:
space:
mode:
authorKuninori Morimoto2011-11-11 03:45:43 +0100
committerPaul Mundt2011-11-11 08:45:35 +0100
commit9b49139b34a66907662e0be8efe79316dc63f8e0 (patch)
tree545a6b85d86536e9be40cf80857f9c55de50eef5 /arch/arm/mach-shmobile/pfc-sh7377.c
parentARM: mach-shmobile: move helper macro PORT_xx to sh_pfc.h (diff)
downloadkernel-qcow2-linux-9b49139b34a66907662e0be8efe79316dc63f8e0.tar.gz
kernel-qcow2-linux-9b49139b34a66907662e0be8efe79316dc63f8e0.tar.xz
kernel-qcow2-linux-9b49139b34a66907662e0be8efe79316dc63f8e0.zip
ARM: mach-shmobile: move helper macro PORTCR to sh_pfc.h
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/arm/mach-shmobile/pfc-sh7377.c')
-rw-r--r--arch/arm/mach-shmobile/pfc-sh7377.c17
1 files changed, 0 insertions, 17 deletions
diff --git a/arch/arm/mach-shmobile/pfc-sh7377.c b/arch/arm/mach-shmobile/pfc-sh7377.c
index fb3cfd3cff46..2f10511946ad 100644
--- a/arch/arm/mach-shmobile/pfc-sh7377.c
+++ b/arch/arm/mach-shmobile/pfc-sh7377.c
@@ -1300,23 +1300,6 @@ static struct pinmux_gpio pinmux_gpios[] = {
GPIO_FN(RESETOUTS),
};
-/* helper for top 4 bits in PORTnCR */
-#define PCRH(in, in_pd, in_pu, out) \
- 0, (out), (in), 0, \
- 0, 0, 0, 0, \
- 0, 0, (in_pd), 0, \
- 0, 0, (in_pu), 0
-
-#define PORTCR(nr, reg) \
- { PINMUX_CFG_REG("PORT" nr "CR", reg, 8, 4) { \
- PCRH(PORT##nr##_IN, PORT##nr##_IN_PD, \
- PORT##nr##_IN_PU, PORT##nr##_OUT), \
- PORT##nr##_FN0, PORT##nr##_FN1, \
- PORT##nr##_FN2, PORT##nr##_FN3, \
- PORT##nr##_FN4, PORT##nr##_FN5, \
- PORT##nr##_FN6, PORT##nr##_FN7 } \
- }
-
static struct pinmux_cfg_reg pinmux_config_regs[] = {
PORTCR(0, 0xe6050000), /* PORT0CR */
PORTCR(1, 0xe6050001), /* PORT1CR */