1
0
mirror of https://xff.cz/git/u-boot/ synced 2025-09-02 17:22:22 +02:00
Files
u-boot-megous/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-01-30 09:19:17 -05:00
2015-01-30 09:19:16 -05:00
2014-10-26 14:03:08 -04:00
2014-12-29 16:31:24 -05:00
2014-06-20 11:54:29 -06:00
2015-05-14 19:58:34 -06:00
2015-07-27 15:53:48 -07:00
2015-11-05 16:47:06 -05:00
2014-05-12 15:19:46 -04:00
2015-10-26 09:22:36 +01:00
2015-05-21 09:13:19 -04:00
2014-03-21 16:43:59 -04:00
2014-04-17 17:44:36 -04:00
2014-03-21 16:43:59 -04:00
2014-03-21 16:43:59 -04:00
2015-11-12 13:18:59 -05:00
2015-01-05 12:08:51 -05:00
2015-10-19 17:06:16 -04:00
2015-11-19 20:27:50 -07:00
2014-09-16 12:23:56 -04:00