projects
/
platform
/
kernel
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY
[platform/kernel/u-boot.git]
/
board
/
freescale
/
p1_p2_rdb_pc
/
spl.c
diff --git
a/board/freescale/p1_p2_rdb_pc/spl.c
b/board/freescale/p1_p2_rdb_pc/spl.c
index
90188b0
..
1184684
100644
(file)
--- a/
board/freescale/p1_p2_rdb_pc/spl.c
+++ b/
board/freescale/p1_p2_rdb_pc/spl.c
@@
-99,7
+99,7
@@
void board_init_r(gd_t *gd, ulong dest_addr)
env_relocate();
#endif
-#if
def CONFIG_SYS_I2C_LEGACY
+#if
CONFIG_IS_ENABLED(SYS_I2C_LEGACY)
i2c_init_all();
#else
i2c_init(CONFIG_SYS_I2C_SPEED, CONFIG_SYS_I2C_SLAVE);