summaryrefslogtreecommitdiff
path: root/drivers/gpio
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2014-07-23 12:54:56 (GMT)
committerSimon Glass <sjg@chromium.org>2014-07-23 13:07:23 (GMT)
commit5b9765c7d689166899918d49e4884e9b8c51a8ae (patch)
tree760e0ade73db4dbe3e68fe41a16958c16297cf19 /drivers/gpio
parent6d7601e74437f3c915667a829ab722ba5174ec72 (diff)
downloadu-boot-fsl-qoriq-5b9765c7d689166899918d49e4884e9b8c51a8ae.tar.xz
dm: gpio: Don't use the driver model uclass for SPL
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>
Diffstat (limited to 'drivers/gpio')
-rw-r--r--drivers/gpio/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpio/Makefile b/drivers/gpio/Makefile
index 4e001e1..fb8dcd9 100644
--- a/drivers/gpio/Makefile
+++ b/drivers/gpio/Makefile
@@ -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