commit | d738746cc357e2157fce69f1fd5b25692ac640d1 | [log] [tgz] |
---|---|---|
author | Marek Vasut <marex@denx.de> | Tue Nov 10 20:53:26 2015 +0100 |
committer | Tom Rini <trini@konsulko.com> | Sat Nov 21 21:50:24 2015 -0500 |
tree | ed74e29a3798e3497d634f41eec5ab8a0dc4689c | |
parent | 52cd47c9a5b467dd865e872647e9820d85e4292b [diff] |
eeprom: Pull out CONFIG_SYS_EEPROM_PAGE_WRITE_DELAY_MS Pull this macro to the beginning of the cmd_eeprom.c and remove another nasty ifdef from the code. Note that this is legal, since udelay(0) changes the behavior only such that it pings the WDT if WDT is enabled and otherwise does not wait. 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>