aboutsummaryrefslogtreecommitdiff
path: root/post/drivers/i2c.c
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2022-11-19 18:45:44 -0500
committerTom Rini <trini@konsulko.com>2022-12-05 16:11:50 -0500
commit9cebc4ad8ebe6832c6d0eca786a85533a3b54ce4 (patch)
tree991419da6908e988faf815bafec3a7c01f8e9d8a /post/drivers/i2c.c
parentd948c8988c212bc8fe94db556b7ef265d2e96452 (diff)
post: Migrate to Kconfig
We move the existing CONFIG_POST_* functionality over to CFG_POST and then introduce CONFIG_POST to Kconfig. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'post/drivers/i2c.c')
-rw-r--r--post/drivers/i2c.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/post/drivers/i2c.c b/post/drivers/i2c.c
index 3b378921fa..057454ffd8 100644
--- a/post/drivers/i2c.c
+++ b/post/drivers/i2c.c
@@ -26,7 +26,7 @@
#include <post.h>
#include <i2c.h>
-#if CONFIG_POST & CONFIG_SYS_POST_I2C
+#if CFG_POST & CONFIG_SYS_POST_I2C
static int i2c_ignore_device(unsigned int chip)
{
@@ -94,4 +94,4 @@ int i2c_post_test (int flags)
#endif
}
-#endif /* CONFIG_POST & CONFIG_SYS_POST_I2C */
+#endif /* CFG_POST & CONFIG_SYS_POST_I2C */