Re: [U-Boot] [PATCH 13/17] eeprom: Pull out transfer length computation

2015-11-16 Thread Heiko Schocher
Hello Marek, Am 10.11.2015 um 20:53 schrieb Marek Vasut: Pull out the code which computes the length of the transfer into separate code and clean it up a little. This again trims down the code duplication. Signed-off-by: Marek Vasut Cc: Simon Glass Cc: Tom Rini Cc: Heiko Schocher --- comm

[U-Boot] [PATCH 13/17] eeprom: Pull out transfer length computation

2015-11-10 Thread Marek Vasut
Pull out the code which computes the length of the transfer into separate code and clean it up a little. This again trims down the code duplication. Signed-off-by: Marek Vasut Cc: Simon Glass Cc: Tom Rini Cc: Heiko Schocher --- common/cmd_eeprom.c | 66