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
/
somlabs
/
visionsom-6ull
/
visionsom-6ull.c
diff --git
a/board/somlabs/visionsom-6ull/visionsom-6ull.c
b/board/somlabs/visionsom-6ull/visionsom-6ull.c
index
c26e7b0
..
38d14f6
100644
(file)
--- a/
board/somlabs/visionsom-6ull/visionsom-6ull.c
+++ b/
board/somlabs/visionsom-6ull/visionsom-6ull.c
@@
-104,7
+104,7
@@
int board_init(void)
/* Address of boot parameters */
gd->bd->bi_boot_params = PHYS_SDRAM + 0x100;
-#if
def CONFIG_SYS_I2C_LEGACY
+#if
CONFIG_IS_ENABLED(SYS_I2C_LEGACY)
setup_i2c(0, CONFIG_SYS_I2C_SPEED, 0x7f, &i2c_pad_info1);
#endif