[U-Boot] [PATCH] microblaze: usable uart16550 for big endian systems

Stephan Linz linz at li-pro.net
Thu Nov 24 21:30:02 CET 2011


Am Donnerstag, den 24.11.2011, 20:13 +0100 schrieb Michal Simek:
> Stephan Linz wrote:
> >--snip--
> >>
> >> Here is patch I have used. Please add that changes to v2 patch.
> > 
> > I'll do it this way. Give me a little time to change and test it.
> > Currently I am sill working on refactoring of the LL TEMAC driver. I
> > hope, the refactored driver than can merge in mainline ...
> 
> I have done it some time ago and look at "[PATCH v3] net: ll_temac:
> Add LL TEMAC driver to u-boot thread".

Hi Michal,

yes, I've read the whole thread.

> I have attached the latest version I have and I am not going to change
> it to follow "new" u-boot network driver style

Hm, but it is possible ...

> because  I would like to keep ppc dcr support.

Even this was the main work I've done last week. I've split the driver
code into differnt sub modules (xilinx_ll_temac_fifo and
xilinx_ll_temac_sdram), introduce some call back functions into the sub
modules to harmonize the main driver code and divide the sdma code into
the two different bus access methodes: direct 32 bit memory access
(Microblaze) and indirect access via DCR (Xilinx PPC4xx).

Please, give me some time to finish the refactoring. I'll release all
results as fast as possible her in U-Boot list.

But, one issue was uncleare to me. Some functions, for example
xps_ll_temac_hostif_set(), were prepared to set bit 10 of CTL register.
But CTL bit 10 is not defined by any LL TEMAC documentation. Why did you
done this?


Thanks,
Stephan

> 
> Thanks,
> Michal
> 
> -- 
> Michal Simek, Ing. (M.Eng)
> w: www.monstr.eu p: +42-0-721842854
> Maintainer of Linux kernel 2.6 Microblaze Linux -
> http://www.monstr.eu/fdt/
> Microblaze U-BOOT custodian 
-- 
Viele Grüße,
Stephan Linz
______________________________________________________________________________
MB-Ref: http://www.li-pro.de/xilinx_mb:mbref:start
OpenDCC: http://www.li-pro.net/opendcc.phtml
PC/M: http://www.li-pro.net/pcm.phtml
Sourceforge: http://sourceforge.net/users/slz
Gitorious: https://gitorious.org/~slz



More information about the U-Boot mailing list