Forked from
Reform / reform-boundary-uboot
Source project has a limited visibility.
-
Marek Vasut authored
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>
Marek Vasut authoredPull 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>