Skip to content
Commit 1a37889b authored by Marek Vasut's avatar Marek Vasut Committed by Tom Rini
Browse files

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: default avatarMarek Vasut <marex@denx.de>
Cc: Simon Glass <sjg@chromium.org>
Cc: Tom Rini <trini@konsulko.com>
Cc: Heiko Schocher <hs@denx.de>
Reviewed-by: default avatarHeiko Schocher <hs@denx.de>
parent 39b6f98b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment