]> git.sur5r.net Git - u-boot/commit
eeprom: merge cmdline parsing of eeprom commands
authorNikita Kiryanov <nikita@compulab.co.il>
Sat, 16 Apr 2016 14:55:13 +0000 (17:55 +0300)
committerTom Rini <trini@konsulko.com>
Sat, 21 May 2016 00:42:57 +0000 (20:42 -0400)
commit3dc9be82088f826dd7927bd1f947a838c9ef72b0
treeaa4e5bc74aa0a52adec5d59604d2f1c2f08d1e61
parente7c2729bb358064ef7baf6081e6a47cf3f878e5c
eeprom: merge cmdline parsing of eeprom commands

Merge the parsing of layout aware and layout unaware eeprom commands into
one parsing function. With this change, layout aware commands now follow
the eeprom read and eeprom write conventions of making i2c bus and i2c address
parameters optional.

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>
cmd/eeprom.c