mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-21 22:51:37 +00:00
i2c: Enable "old" i2c commands even when CONFIG_I2C_CMD_TREE is defined
The "old" i2c commands (iprobe, imd...) are now compiled in again, even when the i2c command tree is enabled via the CONFIG_I2C_CMD_TREE config option. Signed-off-by: Stefan Roese <sr@denx.de>
This commit is contained in:
parent
e50b791b3f
commit
0c75c9d843
1 changed files with 1 additions and 2 deletions
|
@ -969,7 +969,7 @@ U_BOOT_CMD(
|
||||||
"i2c sdram chip - print SDRAM configuration information\n"
|
"i2c sdram chip - print SDRAM configuration information\n"
|
||||||
#endif /* CFG_CMD_SDRAM */
|
#endif /* CFG_CMD_SDRAM */
|
||||||
);
|
);
|
||||||
#else /* CONFIG_I2C_CMD_TREE */
|
#endif /* CONFIG_I2C_CMD_TREE */
|
||||||
U_BOOT_CMD(
|
U_BOOT_CMD(
|
||||||
imd, 4, 1, do_i2c_md, \
|
imd, 4, 1, do_i2c_md, \
|
||||||
"imd - i2c memory display\n", \
|
"imd - i2c memory display\n", \
|
||||||
|
@ -1024,6 +1024,5 @@ U_BOOT_CMD(
|
||||||
" (valid chip values 50..57)\n"
|
" (valid chip values 50..57)\n"
|
||||||
);
|
);
|
||||||
#endif
|
#endif
|
||||||
#endif /* CONFIG_I2C_CMD_TREE */
|
|
||||||
|
|
||||||
#endif /* CFG_CMD_I2C */
|
#endif /* CFG_CMD_I2C */
|
||||||
|
|
Loading…
Add table
Reference in a new issue