diff options
author | Fabio Estevam <festevam@gmail.com> | 2020-01-29 13:58:02 -0300 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2020-02-09 14:52:39 +0100 |
commit | c0a179a7a57a6cad939b5bfc499367989d8f67a3 (patch) | |
tree | 9cafdf6be33758286b0d406120cb9ec9caa92227 | |
parent | 29a3fc680dc9b5b15616bd068bf9677f45cd8b53 (diff) | |
download | u-boot-c0a179a7a57a6cad939b5bfc499367989d8f67a3.tar.gz |
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>
-rw-r--r-- | drivers/gpio/Makefile | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/gpio/Makefile b/drivers/gpio/Makefile index ceae6126c7..9dd5a58389 100644 --- a/drivers/gpio/Makefile +++ b/drivers/gpio/Makefile @@ -6,13 +6,11 @@ ifndef CONFIG_SPL_BUILD obj-$(CONFIG_DWAPB_GPIO) += dwapb_gpio.o obj-$(CONFIG_AXP_GPIO) += axp_gpio.o +obj-$(CONFIG_DM_74X164) += 74x164_gpio.o endif obj-$(CONFIG_$(SPL_TPL_)DM_GPIO) += gpio-uclass.o obj-$(CONFIG_$(SPL_)DM_PCA953X) += pca953x_gpio.o -ifdef CONFIG_$(SPL_TPL_)GPIO -obj-$(CONFIG_DM_74X164) += 74x164_gpio.o -endif obj-$(CONFIG_AT91_GPIO) += at91_gpio.o obj-$(CONFIG_ATMEL_PIO4) += atmel_pio4.o |