summaryrefslogtreecommitdiff
path: root/drivers/gpio
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2015-06-23 15:38:39 -0600
committerSimon Glass <sjg@chromium.org>2015-07-21 17:39:23 -0600
commitce22c5bbeed179161647f2bc707751761e6fe4bf (patch)
tree82e30672f6f1b27b5c097f304a02518e777caac5 /drivers/gpio
parent132f9bfc9ed0761fe349d2609918fa8a61e20692 (diff)
downloadu-boot-ce22c5bbeed179161647f2bc707751761e6fe4bf.tar.gz
u-boot-ce22c5bbeed179161647f2bc707751761e6fe4bf.tar.bz2
u-boot-ce22c5bbeed179161647f2bc707751761e6fe4bf.zip
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 <sjg@chromium.org>
Diffstat (limited to 'drivers/gpio')
-rw-r--r--drivers/gpio/Makefile4
1 files changed, 0 insertions, 4 deletions
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