]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
dm: gpio: Don't use the driver model uclass for SPL
authorSimon Glass <sjg@chromium.org>
Wed, 23 Jul 2014 12:54:56 +0000 (06:54 -0600)
committerSimon Glass <sjg@chromium.org>
Wed, 23 Jul 2014 13:07:23 +0000 (14:07 +0100)
Driver model does not support SPL yet, so we should not use the GPIO
uclass for SPL.

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

index 4e001e12bdb5d29e148012a0ac27de37f8cdd68d..fb8dcd916b53dc6e949990eb2cdbb6db7a03a09f 100644 (file)
@@ -5,7 +5,9 @@
 # SPDX-License-Identifier:     GPL-2.0+
 #
 
+ifndef CONFIG_SPL_BUILD
 obj-$(CONFIG_DM_GPIO)          += gpio-uclass.o
+endif
 
 obj-$(CONFIG_AT91_GPIO)        += at91_gpio.o
 obj-$(CONFIG_INTEL_ICH6_GPIO)  += intel_ich6_gpio.o