gpio: Let DM_74X164 be built without CONFIG_SPL_GPIO
authorFabio Estevam <festevam@gmail.com>
Wed, 29 Jan 2020 16:58:02 +0000 (13:58 -0300)
committerStefano Babic <sbabic@denx.de>
Sun, 9 Feb 2020 13:52:39 +0000 (14:52 +0100)
commitc0a179a7a57a6cad939b5bfc499367989d8f67a3
tree9cafdf6be33758286b0d406120cb9ec9caa92227
parent29a3fc680dc9b5b15616bd068bf9677f45cd8b53
gpio: Let DM_74X164 be built without CONFIG_SPL_GPIO

Since commit bcee8d6764f9 ("dm: gpio: Allow control of GPIO uclass in SPL")
CONFIG_DM_74X164 is no longer built for mx7dsabresd_defconfig, as
this target does not use CONFIG_SPL_GPIO.

Remove such dependency and let the the 74X164 GPIO driver be built
again.

This restores Ethernet functionality on the imx7-sdb board as the
Ethernet reset PHY comes from a GPIO driven by a 74LV595PW I/O
expander.

Fixes: bcee8d6764f9 ("dm: gpio: Allow control of GPIO uclass in SPL")
Signed-off-by: Fabio Estevam <festevam@gmail.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
Tested-by: Alifer Moraes <alifer.wsdm@gmail.com>
drivers/gpio/Makefile