commit | e46f8a3309fb2628940d3e2806c954d84f910165 | [log] [tgz] |
---|---|---|
author | Lukasz Majewski <lukma@denx.de> | Tue Mar 21 12:08:25 2017 +0100 |
committer | Heiko Schocher <hs@denx.de> | Tue Mar 28 06:27:54 2017 +0200 |
tree | fef8b56725a7613dd59bfd5f41891461cd955b48 | |
parent | b52a3fa08b830006c1872517bdafe41160d9223d [diff] |
i2c: Set default I2C bus number This patch allows using i2c commands (e.g. "i2c probe", "i2c md", etc) without the need to first select the bus number with e.g. "i2c dev 0". This is the "i2c" command behavior similar to the one from pre DM, where by default bus 0 was immediately accessible. Signed-off-by: Lukasz Majewski <lukma@denx.de>