mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2025-11-29 06:31:28 +01:00
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>
This commit is contained in:
parent
132f9bfc9e
commit
ce22c5bbee
@ -6,13 +6,9 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
ifndef CONFIG_SPL_BUILD
|
ifndef CONFIG_SPL_BUILD
|
||||||
obj-$(CONFIG_DM_GPIO) += gpio-uclass.o
|
|
||||||
obj-$(CONFIG_AXP_GPIO) += axp_gpio.o
|
obj-$(CONFIG_AXP_GPIO) += axp_gpio.o
|
||||||
endif
|
endif
|
||||||
/* TODO(sjg@chromium.org): Only tegra supports driver model in SPL */
|
|
||||||
ifdef CONFIG_TEGRA_GPIO
|
|
||||||
obj-$(CONFIG_DM_GPIO) += gpio-uclass.o
|
obj-$(CONFIG_DM_GPIO) += gpio-uclass.o
|
||||||
endif
|
|
||||||
|
|
||||||
obj-$(CONFIG_AT91_GPIO) += at91_gpio.o
|
obj-$(CONFIG_AT91_GPIO) += at91_gpio.o
|
||||||
obj-$(CONFIG_INTEL_ICH6_GPIO) += intel_ich6_gpio.o
|
obj-$(CONFIG_INTEL_ICH6_GPIO) += intel_ich6_gpio.o
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user