aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-shmobile/pfc-sh7367.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-shmobile/pfc-sh7367.c')
-rw-r--r--arch/arm/mach-shmobile/pfc-sh7367.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/arch/arm/mach-shmobile/pfc-sh7367.c b/arch/arm/mach-shmobile/pfc-sh7367.c
index 32fbf0206b38..e6e524654e67 100644
--- a/arch/arm/mach-shmobile/pfc-sh7367.c
+++ b/arch/arm/mach-shmobile/pfc-sh7367.c
@@ -1287,22 +1287,6 @@ static struct pinmux_gpio pinmux_gpios[] = {
1287 GPIO_FN(DIVLOCK), 1287 GPIO_FN(DIVLOCK),
1288}; 1288};
1289 1289
1290/* helper for top 4 bits in PORTnCR */
1291#define PCRH(in, in_pd, in_pu, out) \
1292 0, (out), (in), 0, \
1293 0, 0, 0, 0, \
1294 0, 0, (in_pd), 0, \
1295 0, 0, (in_pu), 0
1296
1297#define PORTCR(nr, reg) \
1298 { PINMUX_CFG_REG("PORT" nr "CR", reg, 8, 4) { \
1299 PCRH(PORT##nr##_IN, PORT##nr##_IN_PD, \
1300 PORT##nr##_IN_PU, PORT##nr##_OUT), \
1301 PORT##nr##_FN0, PORT##nr##_FN1, PORT##nr##_FN2, \
1302 PORT##nr##_FN3, PORT##nr##_FN4, PORT##nr##_FN5, \
1303 PORT##nr##_FN6, PORT##nr##_FN7 } \
1304 }
1305
1306static struct pinmux_cfg_reg pinmux_config_regs[] = { 1290static struct pinmux_cfg_reg pinmux_config_regs[] = {
1307 PORTCR(0, 0xe6050000), /* PORT0CR */ 1291 PORTCR(0, 0xe6050000), /* PORT0CR */
1308 PORTCR(1, 0xe6050001), /* PORT1CR */ 1292 PORTCR(1, 0xe6050001), /* PORT1CR */