[U-Boot] [PATCH] don't touch non-existent EHCI regs on MPC837x.
Andre Schwarz
andre.schwarz at matrix-vision.de
Mon Nov 15 16:14:06 CET 2010
Kumar,
>> Signed-off-by: Andre Schwarz<andre.schwarz at matrix-vision.de>
>> ---
>> arch/powerpc/cpu/mpc83xx/cpu_init.c | 2 +-
>> 1 files changed, 1 insertions(+), 1 deletions(-)
>>
> This doesn't seem quite right, the MPC837x has USB controllers.
>
> - k
>
yes, it has - and it is working fine.
But USB register range 0x00-0xff is reserved and hangs the CPU.
With this patch USB is working fine on at least MPC8377.
>> diff --git a/arch/powerpc/cpu/mpc83xx/cpu_init.c b/arch/powerpc/cpu/mpc83xx/cpu_init.c
>> index 7a1cae7..cfead18 100644
>> --- a/arch/powerpc/cpu/mpc83xx/cpu_init.c
>> +++ b/arch/powerpc/cpu/mpc83xx/cpu_init.c
>> @@ -327,7 +327,7 @@ void cpu_init_f (volatile immap_t * im)
>> im->gpio[1].dir = CONFIG_SYS_GPIO2_DIR;
>> #endif
>> #ifdef CONFIG_USB_EHCI_FSL
>> -#ifndef CONFIG_MPC834x
>> +#if !defined(CONFIG_MPC834x)&& !defined(CONFIG_MPC837x)
>> uint32_t temp;
>> struct usb_ehci *ehci = (struct usb_ehci *)CONFIG_SYS_FSL_USB_ADDR;
>>
>> --
>> 1.7.0.4
>>
>> _______________________________________________
>> U-Boot mailing list
>> U-Boot at lists.denx.de
>> http://lists.denx.de/mailman/listinfo/u-boot
>>
>
Regards,
André
MATRIX VISION GmbH, Talstrasse 16, DE-71570 Oppenweiler
Registergericht: Amtsgericht Stuttgart, HRB 271090
Geschaeftsfuehrer: Gerhard Thullner, Werner Armingeon, Uwe Furtner
More information about the U-Boot
mailing list