diff options
author | Nikita Kiryanov <nikita@compulab.co.il> | 2016-04-16 14:55:11 (GMT) |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2016-05-20 21:02:09 (GMT) |
commit | c40f03723fba2f77bccd92dd87fcd48c37d13cdc (patch) | |
tree | 819007ffd5a820911bb96df0d18b7d53e326be8b /fs/cbfs/cbfs.c | |
parent | 2d9a76b614c33e660b5556b5f96bd5ee4810953e (diff) | |
download | u-boot-fsl-qoriq-c40f03723fba2f77bccd92dd87fcd48c37d13cdc.tar.xz |
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 'fs/cbfs/cbfs.c')
0 files changed, 0 insertions, 0 deletions