]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - drivers/gpio/Makefile
dm: tegra: Enable driver model in SPL and adjust the GPIO driver
[karo-tx-uboot.git] / drivers / gpio / Makefile
index e035a7433366dda97a9249bce6d7d291369304e3..32394a14069cd4ac177ccfe5a6c7c5d57e51e3b3 100644 (file)
@@ -8,6 +8,10 @@
 ifndef CONFIG_SPL_BUILD
 obj-$(CONFIG_DM_GPIO)          += gpio-uclass.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_AM33XX_GPIO)      += am33xx_gpio.o
 obj-$(CONFIG_AT91_GPIO)                += at91_gpio.o