From: Simon Glass Date: Tue, 23 Jun 2015 21:38:39 +0000 (-0600) Subject: dm: gpio: Allow GPIO uclass to be used in SPL X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=ce22c5bbeed179161647f2bc707751761e6fe4bf;p=project%2Fbcm63xx%2Fu-boot.git dm: gpio: Allow GPIO uclass to be used in SPL Now that we support driver model in SPL, allow GPIO drivers to be used there also. Signed-off-by: Simon Glass --- diff --git a/drivers/gpio/Makefile b/drivers/gpio/Makefile index 586485055d..67c6374d47 100644 --- a/drivers/gpio/Makefile +++ b/drivers/gpio/Makefile @@ -6,13 +6,9 @@ # ifndef CONFIG_SPL_BUILD -obj-$(CONFIG_DM_GPIO) += gpio-uclass.o obj-$(CONFIG_AXP_GPIO) += axp_gpio.o endif -/* TODO(sjg@chromium.org): Only tegra supports driver model in SPL */ -ifdef CONFIG_TEGRA_GPIO obj-$(CONFIG_DM_GPIO) += gpio-uclass.o -endif obj-$(CONFIG_AT91_GPIO) += at91_gpio.o obj-$(CONFIG_INTEL_ICH6_GPIO) += intel_ich6_gpio.o