From 793afcde6c645b37b72a922673fbf9d4ee619436 Mon Sep 17 00:00:00 2001 From: Marek Vasut Date: Fri, 15 Sep 2017 21:13:57 +0200 Subject: ARM: rmobile: Switch to DM PFC pinmux and GPIO driver Enable the PFC pinmux and GPIO drivers and disable the SH GPIO combo driver. This allows the drivers to obtain pinmux and GPIO configuration from DT rather than hard-coding it in board files. Signed-off-by: Marek Vasut Cc: Nobuhiro Iwamatsu Signed-off-by: Nobuhiro Iwamatsu --- board/renesas/ulcb/ulcb.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'board/renesas/ulcb') diff --git a/board/renesas/ulcb/ulcb.c b/board/renesas/ulcb/ulcb.c index 9b96645d11..3ee6990b57 100644 --- a/board/renesas/ulcb/ulcb.c +++ b/board/renesas/ulcb/ulcb.c @@ -81,11 +81,13 @@ int board_init(void) /* adress of boot parameters */ gd->bd->bi_boot_params = CONFIG_SYS_TEXT_BASE + 0x50000; +#ifdef CONFIG_SH_GPIO_PFC /* Init PFC controller */ #if defined(CONFIG_R8A7795) r8a7795_pinmux_init(); #elif defined(CONFIG_R8A7796) r8a7796_pinmux_init(); +#endif #endif /* USB1 pull-up */ -- cgit v1.2.3