summaryrefslogtreecommitdiff
path: root/common/stdio.c
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2021-08-30 16:44:54 -0400
committerTom Rini <trini@konsulko.com>2021-08-30 16:56:54 -0400
commita85a8e63c5cf8ccb3905eb5982bf8bdcb2978557 (patch)
treeb9feab308105519bdac26729cee734ef49bb62f2 /common/stdio.c
parent9b0583a839ab8b086b65b4762769abbe048a524d (diff)
parent809c4f242f6c05f67a097ace0098c5bc1dfebdfb (diff)
Merge branch '2021-08-30-kconfig-migrations-part1' into next
- Begin merging some Kconfig migration, and CONFIG namespace cleanup series in. This gives us: - A number of I2C symbols migrated over - DWC2, i8042, altera_spi and a few other areas updated to use CFG not CONFIG for the concept of "configuration space" defines. - Rename CONFIG_EXTRA_ENV_BOARD_SETTINGS to EXTRA_ENV_BOARD_SETTINGS - Some dead code removal. - Rename a number of CONFIG symbols that were only referenced within the config header to not use CONFIG as a prefix.
Diffstat (limited to 'common/stdio.c')
-rw-r--r--common/stdio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/stdio.c b/common/stdio.c
index 4083e4edb8f..0f2eb6f0d61 100644
--- a/common/stdio.c
+++ b/common/stdio.c
@@ -336,7 +336,7 @@ int stdio_add_devices(void)
dev->name);
}
}
-#ifdef CONFIG_SYS_I2C_LEGACY
+#if CONFIG_IS_ENABLED(SYS_I2C_LEGACY)
i2c_init_all();
#endif
if (IS_ENABLED(CONFIG_DM_VIDEO)) {