]> Git Repo - u-boot.git/commit
eeprom: Pull out the RW loop
authorMarek Vasut <[email protected]>
Tue, 10 Nov 2015 19:53:30 +0000 (20:53 +0100)
committerTom Rini <[email protected]>
Sun, 22 Nov 2015 02:50:25 +0000 (21:50 -0500)
commit1a37889b0ad084a740b4f785031d7ae9955d947b
tree809c2ca0c648f119a14b27252552334ea2b8f323
parent39b6f98bd55541a89eddaf59effeb75f6fe631f6
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 <[email protected]>
Cc: Simon Glass <[email protected]>
Cc: Tom Rini <[email protected]>
Cc: Heiko Schocher <[email protected]>
Reviewed-by: Heiko Schocher <[email protected]>
common/cmd_eeprom.c
This page took 0.034805 seconds and 4 git commands to generate.