diff options
author | Hans de Goede <hdegoede@redhat.com> | 2015-01-07 15:08:43 +0100 |
---|---|---|
committer | Hans de Goede <hdegoede@redhat.com> | 2015-01-14 14:56:40 +0100 |
commit | 0eccec4ef1431aafb8d67118c515703e6a7f7a3e (patch) | |
tree | 3b81363222e767536bb3062ff8bc8d834ab79b4d /arch/arm/cpu/armv7/sunxi/Makefile | |
parent | 2abac6213d9d05c34fba7dcaa2934668774008a7 (diff) | |
download | u-boot-imx-0eccec4ef1431aafb8d67118c515703e6a7f7a3e.zip u-boot-imx-0eccec4ef1431aafb8d67118c515703e6a7f7a3e.tar.gz u-boot-imx-0eccec4ef1431aafb8d67118c515703e6a7f7a3e.tar.bz2 |
sunxi: Move usb-controller init code out of ehci-sunxi.c for reuse for otg
Most of the usb-controller init code found in ehci-sunxi.c also is necessary
to init the otg usb controller, so move it to a common place.
While at it also update various #ifdefs / defines for sun8i support.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Ian Campbell <ijc@hellion.org.uk>
Diffstat (limited to 'arch/arm/cpu/armv7/sunxi/Makefile')
-rw-r--r-- | arch/arm/cpu/armv7/sunxi/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/cpu/armv7/sunxi/Makefile b/arch/arm/cpu/armv7/sunxi/Makefile index 1e89937..1720f7d 100644 --- a/arch/arm/cpu/armv7/sunxi/Makefile +++ b/arch/arm/cpu/armv7/sunxi/Makefile @@ -12,6 +12,7 @@ obj-y += board.o obj-y += clock.o obj-y += cpu_info.o obj-y += pinmux.o +obj-y += usbc.o obj-$(CONFIG_MACH_SUN6I) += prcm.o obj-$(CONFIG_MACH_SUN8I) += prcm.o obj-$(CONFIG_MACH_SUN6I) += p2wi.o |