commit | 6ae5957566d701ef21a710c1f36004dcf717bf61 | [log] [tgz] |
---|---|---|
author | Marek Vasut <marex@denx.de> | Tue Nov 10 20:53:24 2015 +0100 |
committer | Tom Rini <trini@konsulko.com> | Sat Nov 21 21:50:23 2015 -0500 |
tree | 4e70c47da0ad1eb33162a06fcb55764ea9adbfc0 | |
parent | 78990c70e666d6f7a14d125d7631558dedeae9f1 [diff] |
eeprom: Pull out address computation Pull out the code computing the EEPROM address into separate function so that it's not duplicated. 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>