• Nikita Kiryanov's avatar
    eeprom: merge cmdline parsing of eeprom commands · 3dc9be82
    Nikita Kiryanov authored
    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: 's avatarNikita Kiryanov <nikita@compulab.co.il>
    3dc9be82
eeprom.c 11 KB