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, 1 insertions, 1 deletions
diff --git a/board/renesas/ulcb/ulcb.c b/board/renesas/ulcb/ulcb.c
index 7ba1948659..ffc4eb9ff3 100644
--- a/board/renesas/ulcb/ulcb.c
+++ b/board/renesas/ulcb/ulcb.c
@@ -35,7 +35,7 @@ DECLARE_GLOBAL_DATA_PTR;
int board_early_init_f(void)
{
-#if defined(CONFIG_SYS_I2C) && defined(CONFIG_SYS_I2C_SH)
+#if defined(CONFIG_SYS_I2C_LEGACY) && defined(CONFIG_SYS_I2C_SH)
/* DVFS for reset */
mstp_clrbits_le32(SMSTPCR9, SMSTPCR9, DVFS_MSTP926);
#endif