]> git.dujemihanovic.xyz Git - u-boot.git/commit
eeprom: Make eeprom_write_enable() weak
authorMarek Vasut <marex@denx.de>
Tue, 10 Nov 2015 19:53:25 +0000 (20:53 +0100)
committerTom Rini <trini@konsulko.com>
Sun, 22 Nov 2015 02:50:23 +0000 (21:50 -0500)
commit52cd47c9a5b467dd865e872647e9820d85e4292b
tree053d9ea092b676f2f5ea033d07cd27af49b19a65
parent02c321cf88c14f330e696830554739d745bb359d
eeprom: Make eeprom_write_enable() weak

Make this function weak and implement it's weak implementation
so that the boards can just reimplement it. This zaps the horrid
CONFIG_SYS_EEPROM_WREN macro.

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