diff options
author | Marek Vasut <marex@denx.de> | 2015-11-10 20:53:30 +0100 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2015-11-21 21:50:25 -0500 |
commit | 1a37889b0ad084a740b4f785031d7ae9955d947b (patch) | |
tree | 809c2ca0c648f119a14b27252552334ea2b8f323 /common/cmd_host.c | |
parent | 39b6f98bd55541a89eddaf59effeb75f6fe631f6 (diff) |
eeprom: Pull out the RW loop
Unify the code for doing read/write into single function, since the
code for both the read and write is almost identical. 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 'common/cmd_host.c')
0 files changed, 0 insertions, 0 deletions