eeprom: use eeprom_execute_command for all eeprom functions
authorNikita Kiryanov <nikita@compulab.co.il>
Sat, 16 Apr 2016 14:55:12 +0000 (17:55 +0300)
committerTom Rini <trini@konsulko.com>
Sat, 21 May 2016 00:42:40 +0000 (20:42 -0400)
commite7c2729bb358064ef7baf6081e6a47cf3f878e5c
tree3ddecd529f6428be4374cea39e656d90f8698abe
parentc40f03723fba2f77bccd92dd87fcd48c37d13cdc
eeprom: use eeprom_execute_command for all eeprom functions

Update eeprom_execute_command() and related code to accommodate both layout
aware and layout unaware functions.

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>
[trini: Make eeprom_execute_command have ulong for i2c_addr]
Signed-off-by: Tom Rini <trini@konsulko.com>
cmd/eeprom.c