diff options
author | Nikita Kiryanov <nikita@compulab.co.il> | 2016-04-16 17:55:11 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2016-05-20 17:02:09 -0400 |
commit | c40f03723fba2f77bccd92dd87fcd48c37d13cdc (patch) | |
tree | 819007ffd5a820911bb96df0d18b7d53e326be8b /net | |
parent | 2d9a76b614c33e660b5556b5f96bd5ee4810953e (diff) | |
download | u-boot-imx-c40f03723fba2f77bccd92dd87fcd48c37d13cdc.zip u-boot-imx-c40f03723fba2f77bccd92dd87fcd48c37d13cdc.tar.gz u-boot-imx-c40f03723fba2f77bccd92dd87fcd48c37d13cdc.tar.bz2 |
eeprom: refactor i2c bus and devaddr parsing
Introduce parse_i2c_bus_addr() to generalize the parsing of i2c bus number and
i2c device address. This is done in preparation for merging layout aware and
layout unaware command parsing into one function.
No functional changes.
Cc: Heiko Schocher <hs@denx.de>
Cc: Marek Vasut <marex@denx.de>
Cc: Simon Glass <sjg@chromium.org>
Cc: Igor Grinberg <grinberg@compulab.co.il>
Cc: Tom Rini <trini@konsulko.com>
Signed-off-by: Nikita Kiryanov <nikita@compulab.co.il>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions