[U-Boot] [PATCH 2/3][v2] drivers: usb: Make usb device-tree fixup code architecture independent

York Sun yorksun at freescale.com
Fri Nov 14 19:57:09 CET 2014


On 10/20/2014 04:20 AM, Nikhil Badola wrote:
> move usb device tree fixup code from "arch/powerpc/" to "drivers/usb/"
> so that it works independent of architecture it is running on
> 
> Signed-off-by: Ramneek Mehresh <ramneek.mehresh at freescale.com>
> Signed-off-by: Nikhil Badola <nikhil.badola at freescale.com>
> ---
> Changes for v2 :
> 	- Fixed compilation error for Platforms with 
> 	  CONFIG_USB_MAX_CONTROLLER_COUNT not defined
> 	- Depends on https://patchwork.ozlabs.org/patch/401063/ 
> 
>  arch/powerpc/cpu/mpc8xxx/fdt.c | 104 -------------------------------------
>  drivers/usb/host/ehci-fsl.c    | 113 +++++++++++++++++++++++++++++++++++++++++
>  2 files changed, 113 insertions(+), 104 deletions(-)
> 

We have compiling error for boards MPC837XEMDS_HOST MPC837XERDB. ehci-fsl.c is
not compiled for these boards. Can you check if CONFIG_USB_EHCI_FSL can be
defined for them.

Adding Kim.

York




More information about the U-Boot mailing list