summaryrefslogtreecommitdiff
path: root/drivers/demo
diff options
context:
space:
mode:
authorMarek Vasut <marex@denx.de>2015-11-10 19:53:29 (GMT)
committerTom Rini <trini@konsulko.com>2015-11-22 02:50:25 (GMT)
commit39b6f98bd55541a89eddaf59effeb75f6fe631f6 (patch)
tree51f5134a701a77ec374c923b69810387bb5910f3 /drivers/demo
parent6717e3c84fc3934241eb02a3b437b06dede12594 (diff)
downloadu-boot-fsl-qoriq-39b6f98bd55541a89eddaf59effeb75f6fe631f6.tar.xz
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>
Diffstat (limited to 'drivers/demo')
0 files changed, 0 insertions, 0 deletions