summaryrefslogtreecommitdiff
path: root/board/renesas/ulcb/ulcb.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/renesas/ulcb/ulcb.c')
-rw-r--r--board/renesas/ulcb/ulcb.c2
1 files changed, 2 insertions, 0 deletions
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,12 +81,14 @@ 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 */
setbits_le32(PFC_PUEN6, PUEN_USB1_OVC | PUEN_USB1_PWEN);