commit | 78990c70e666d6f7a14d125d7631558dedeae9f1 | [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 | ae59bfccb670cc5fca838c1976fe2904c1737016 [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>