commit | d062c48183ffc60b16d9b8e17ead8166d68763a3 | [log] [tgz] |
---|---|---|
author | Marek Vasut <marex@denx.de> | Tue Nov 10 20:53:29 2015 +0100 |
committer | Tom Rini <trini@konsulko.com> | Sat Nov 21 21:50:25 2015 -0500 |
tree | 51f5134a701a77ec374c923b69810387bb5910f3 | |
parent | 4208679ae5555bbbabbcfafdaeac53ab5acb8579 [diff] |
eeprom: Pull out transfer length computation 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 <marex@denx.de> Cc: Simon Glass <sjg@chromium.org> Cc: Tom Rini <trini@konsulko.com> Cc: Heiko Schocher <hs@denx.de> Reviewed-by: Heiko Schocher <hs@denx.de>