]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
dm: gpio: Allow GPIO uclass to be used in SPL
authorSimon Glass <sjg@chromium.org>
Tue, 23 Jun 2015 21:38:39 +0000 (15:38 -0600)
committerSimon Glass <sjg@chromium.org>
Tue, 21 Jul 2015 23:39:23 +0000 (17:39 -0600)
Now that we support driver model in SPL, allow GPIO drivers to be used there
also.

Signed-off-by: Simon Glass <sjg@chromium.org>
drivers/gpio/Makefile

index 586485055db68afdfb463f3eb3c9114a7c4f15f7..67c6374d4736451843ed8906958bcc753e52fb91 100644 (file)
@@ -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