commit | 9132088b00b6ba4d57536f2a3895ee71f28509d0 | [log] [tgz] |
---|---|---|
author | Marek Vasut <marex@denx.de> | Tue Nov 10 20:53:23 2015 +0100 |
committer | Tom Rini <trini@konsulko.com> | Sat Nov 21 21:50:22 2015 -0500 |
tree | 62bbed9cb9acbd9c7570b4827c7f1550789573ef | |
parent | 53a85ad79adb43fac2a57cfd241450a9d2f4ce42 [diff] |
eeprom: Pull out the I/O code Pull out the code which does the I2C or SPI read/write, so that the beefy ifdef around it is contained in a single function. 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>