]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
s3c64xx: move usb driver to drivers/usb
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Sun, 29 Mar 2009 21:01:42 +0000 (23:01 +0200)
committerJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Sun, 29 Mar 2009 21:01:42 +0000 (23:01 +0200)
add CONFIG_USB_S3C64XX to activate the driver

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
cpu/arm1176/s3c64xx/Makefile
drivers/usb/Makefile
drivers/usb/s3c64xx_usb.c [moved from cpu/arm1176/s3c64xx/usb.c with 100% similarity]
include/configs/smdk6400.h

index 4ab181159a91cab9dfc5b087023da81b81327769..fa4ee3f24e2309efd7e29365b032dd2bb4652cd0 100644 (file)
@@ -30,7 +30,6 @@ LIB   = $(obj)lib$(SOC).a
 
 COBJS-y        = interrupts.o
 COBJS-$(CONFIG_S3C6400)        += cpu_init.o speed.o
-COBJS-$(CONFIG_USB_OHCI_NEW) += usb.o
 
 OBJS   := $(addprefix $(obj),$(SOBJS) $(COBJS-y))
 
index b306a65a981f59b47aad0c427814f0f7935cd65f..7ddb72a0e146ad47c4903a0521a060fbc267ef6a 100644 (file)
@@ -33,6 +33,7 @@ COBJS-$(CONFIG_USB_EHCI) += usb_ehci_core.o
 # host
 COBJS-$(CONFIG_USB_ISP116X_HCD) += isp116x-hcd.o
 COBJS-$(CONFIG_USB_R8A66597_HCD) += r8a66597-hcd.o
+COBJS-$(CONFIG_USB_S3C64XX) += s3c64xx_usb.o
 COBJS-$(CONFIG_USB_SL811HS) += sl811_usb.o
 COBJS-$(CONFIG_USB_EHCI_FSL) += usb_ehci_fsl.o
 COBJS-$(CONFIG_USB_EHCI_PCI) += usb_ehci_pci.o
index 06d6a885920e6202e7279f1121a7f8d5e0174b66..d3cf6e58f4335fbb46cb5a1979b5893afd1d3118 100644 (file)
 
 #if !defined(CONFIG_ENABLE_MMU)
 #define CONFIG_CMD_USB                 1
+#define CONFIG_USB_S3C64XX
 #define CONFIG_USB_OHCI_NEW            1
 #define CONFIG_SYS_USB_OHCI_REGS_BASE          0x74300000
 #define CONFIG_SYS_USB_OHCI_SLOT_NAME          "s3c6400"