]> git.sur5r.net Git - u-boot/commit
eeprom: Pull out CONFIG_SYS_EEPROM_PAGE_WRITE_BITS
authorMarek Vasut <marex@denx.de>
Tue, 10 Nov 2015 19:53:28 +0000 (20:53 +0100)
committerTom Rini <trini@konsulko.com>
Sun, 22 Nov 2015 02:50:24 +0000 (21:50 -0500)
commit6717e3c84fc3934241eb02a3b437b06dede12594
tree9d0bd3b82d5636f80f845aa99352bfab5bf10fb3
parent8eee40a602deacb2ec0ebd1deed3e732bd470bbc
eeprom: Pull out CONFIG_SYS_EEPROM_PAGE_WRITE_BITS

Implement default value of 8 for this macro and pull out all of
this macro out of the code. The default value of 8 actually does
implement exactly the same behavior as the previous code which
was in the #else clause of the ifdef.

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>
common/cmd_eeprom.c