Files
u-boot/common
Alexey Brodkin 52bc7c7e2b eeprom: fix eeprom write procedure
This fixes commit 1a37889b0a:
----------------------->8--------------------
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.
----------------------->8--------------------

where the same one routine is utilized for both EEPROM writing and
reading. The only difference was supposed to be a "read" flag which
in both cases was set with 1 somehow.

That lead to a missing delay in case of writing which lead to write
failure (in my case no data was written).

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Acked-by: Marek Vasut <marex@denx.de>
Cc: Simon Glass <sjg@chromium.org>
Cc: Tom Rini <trini@konsulko.com>
Cc: Heiko Schocher <hs@denx.de>
2015-12-16 10:31:31 -05:00
..
2015-12-15 08:57:32 +08:00
2015-06-10 19:26:54 -06:00
2015-07-20 07:21:47 -06:00
2015-07-27 15:53:48 -07:00
2015-11-05 16:47:06 -05:00
2015-10-26 09:22:36 +01:00
2015-05-21 09:13:19 -04:00
2015-11-12 13:18:59 -05:00
2015-10-19 17:06:16 -04:00
2015-11-19 20:27:50 -07:00