at91: add config option for ohci driver
PATCH 1/1 at91: add config option for ohci driver
--- drivers/usb/host/Kconfig | 4 ++++ drivers/usb/host/Makefile | 2 +- 2 files changed, 5 insertions(+), 1 deletions(-)
drivers/usb/host/Kconfig +4 -0
@@ -7,3 +7,7 @@ config USB_EHCI_OMAP config USB_OHCI bool "OHCI driver" + +config USB_OHCI_AT91 + depends on ARCH_AT91 + bool "AT91 OHCI driver"
drivers/usb/host/Makefile +1 -1
@@ -1,4 +1,4 @@ obj-$(CONFIG_USB_EHCI) += ehci-hcd.o obj-$(CONFIG_USB_EHCI_OMAP) += ehci-omap.o obj-$(CONFIG_USB_OHCI) += ohci-hcd.o -obj-$(CONFIG_ARCH_AT91) += ohci-at91.o +obj-$(CONFIG_USB_OHCI_AT91) += ohci-at91.o
--
1.7.4.1
_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
Quoted 25 lines · Hubert Feurstein
Signed-off-by Hubert Feurstein <[email protected]>Cc Jean-Christophe PLAGNIOL-VILLARD <[email protected]>--- drivers/usb/host/Kconfig | 4 ++++ drivers/usb/host/Makefile | 2 +- 2 files changed, 5 insertions(+), 1 deletions(-)drivers/usb/host/Kconfig +4
-0@@ -7,3 +7,7 @@ config USB_EHCI_OMAP config USB_OHCI bool "OHCI driver" + +config USB_OHCI_AT91 + depends on ARCH_AT91 + bool "AT91 OHCI driver"drivers/usb/host/Makefile +0
-0
drivers/usb/host/Makefile line 4
Quoted 5 lines
drivers/usb/host/Makefile +1
-1@@ -1,4 +1,4 @@ obj-$(CONFIG_USB_EHCI) += ehci-hcd.o obj-$(CONFIG_USB_EHCI_OMAP) += ehci-omap.o obj-$(CONFIG_USB_OHCI) += ohci-hcd.o -obj-$(CONFIG_ARCH_AT91) += ohci-at91.o +obj-$(CONFIG_USB_OHCI_AT91) += ohci-at91.o
no need such config
on AT91 you just need to enable the OCHI
Best Regards,
J.
_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
2011/11/10 Jean-Christophe PLAGNIOL-VILLARD <[email protected]>:
[snip]
Quoted 9 lines
drivers/usb/host/Makefile line 4
Quoted 2 lines
drivers/usb/host/Makefile +1
-1-obj-$(CONFIG_ARCH_AT91) += ohci-at91.o +obj-$(CONFIG_USB_OHCI_AT91) += ohci-at91.ono need such config
on AT91 you just need to enable the OCHI
Best Regards,
J.
without that the ohci-at91 is _always_ compiled and linked into barebox, even when 'USB support' is unselected.
Best Regards
Hubert
_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
Quoted 12 lines · Hubert Feurstein
Signed-off-by Hubert Feurstein <[email protected]>Cc Jean-Christophe PLAGNIOL-VILLARD <[email protected]>--- drivers/usb/host/Kconfig | 4 ++++ drivers/usb/host/Makefile | 2 +- 2 files changed, 5 insertions(+), 1 deletions(-)drivers/usb/host/Kconfig +0
-0
drivers/usb/host/Kconfig config USB_EHCI_OMAP · line 13
Quoted 7 lines
drivers/usb/host/Kconfig +4
-0@@ -7,3 +7,7 @@ config USB_EHCI_OMAP config USB_OHCI bool "OHCI driver" + +config USB_OHCI_AT91 + depends on ARCH_AT91 + bool "AT91 OHCI driver"
Sacahs can you revert this one
there is no need to have any select for the user
if you enalbe the OHCI it must just enable it on AT91 directly otherwise you have a OHCI enable but without driver
Best Regards,
J.
_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
Quoted 22 lines · Jean-Christophe PLAGNIOL-VILLARD
Quoted 12 lines · Hubert Feurstein
Signed-off-by Hubert Feurstein <[email protected]>Cc Jean-Christophe PLAGNIOL-VILLARD <[email protected]>--- drivers/usb/host/Kconfig | 4 ++++ drivers/usb/host/Makefile | 2 +- 2 files changed, 5 insertions(+), 1 deletions(-)drivers/usb/host/Kconfig +0
-0drivers/usb/host/Kconfig config USB_EHCI_OMAP · line 13
Quoted 7 lines
drivers/usb/host/Kconfig +4
-0@@ -7,3 +7,7 @@ config USB_EHCI_OMAP config USB_OHCI bool "OHCI driver" + +config USB_OHCI_AT91 + depends on ARCH_AT91 + bool "AT91 OHCI driver"Sacahs can you revert this one
Quoted 4 lines
there is no need to have any select for the user
if you enalbe the OHCI it must just enable it on AT91 directly otherwise you have a OHCI enable but without driver
What the patch fixes is that ohci-at91.c is compiled even when USB is completely disabled, so reverting just it is not a good solution. I'm open to better solutions.
Sascha
Signature · 9 lines
Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | _______________________________________________ barebox mailing list [email protected] http://lists.infradead.org/mailman/listinfo/barebox