Skip to content
Snippets Groups Projects
Commit c40f0372 authored by Nikita Kiryanov's avatar Nikita Kiryanov Committed by Tom Rini
Browse files

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: default avatarNikita Kiryanov <nikita@compulab.co.il>
parent 2d9a76b6
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment