]> git.ipfire.org Git - people/ms/u-boot.git/commit - common/cmd_eeprom.c
eeprom: Suck the ifdef into eeprom_init()
authorMarek Vasut <marex@denx.de>
Tue, 10 Nov 2015 19:53:27 +0000 (20:53 +0100)
committerTom Rini <trini@konsulko.com>
Sun, 22 Nov 2015 02:50:24 +0000 (21:50 -0500)
commit8eee40a602deacb2ec0ebd1deed3e732bd470bbc
treec69de11bc8f59a8888b74d0e4200e89dfddad926
parentd738746cc357e2157fce69f1fd5b25692ac640d1
eeprom: Suck the ifdef into eeprom_init()

Just suck the ugly ifdef around eeprom_init() call into eeprom_init()
function itself. This puts all of the ifdef mess into one place.

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