commit | d848b08bb623b9534268bbb70e05bd4502b6e0c1 | [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 | 2a632ffc9d39cf3e98cffad2b073ebe2dea2aeda [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>