> How do you have CFG_NS16550_CLK defined on you board?  is the the freq
> for the SOC UARTs?
> 
> if so you can just update your lbc clocks in your own board code after 
> you call ft_cpu_setup()
> 
> - k

CFG_NS16550_CLK is defined as get_bus_freq(0).  The SOC UARTs work, but 
without the previously mentioned mod, the LBC UARTs get the wrong 
divisors (because of the incorrectly fixed-up clock-frequency).

Although, it would probably work, re-modifying the clock-frequency for 
the LBC UARTs seems even more hackish to me.  The clock frequency is 
already set correctly in the device tree we pass in and then it re-set 
incorrectly by the fixup routine, and then we'd be re-re-setting it 
after it was improperly modified...

I was just seeing if there might be a way to push something useful back 
up to u-boot, as others may also have this problem in the future.

Zach

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
U-Boot-Users mailing list
U-Boot-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/u-boot-users

Reply via email to