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

Wolfgang Denk wd at denx.de
Sun Nov 27 15:49:56 CET 2011


Dear Michal Simek,

In message <4ECF6E4C.8010506 at monstr.eu> you wrote:
> Stephan Linz wrote:
> > As a result of the commit 6833260 the uart16550 driver
> > is broken for Microblaze big endian systems, because of
> > the missing 3 byte offset. Other than as described, not
> > all U-Boot BSP will treat properly the 3 byte offset.
> > 
> > This why prefer to mask out the 3 byte offset in general
> > and setup correct _REG_SIZE value depending on edianess.
> > 
> > Signed-off-by: Stephan Linz <linz at li-pro.net>
> > ---
> > v2: Mask out 3 byte offset
> >     Set correct _REG_SIZE values for big/little endianess
> > ---
> >  include/configs/microblaze-generic.h |    8 ++++++--
> >  1 files changed, 6 insertions(+), 2 deletions(-)
> 
> Tested-by: Michal Simek <monstr at monstr.eu>
> 
> Wolfgang: Can you please apply this patch directly to your repo.

Yes, I can.  Done.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
:       I've tried (in vi) "g/[a-z]\n[a-z]/s//_/"...but that doesn't
: cut it.  Any ideas?  (I take it that it may be a two-pass sort of solution).
In the first pass, install perl. :-) Larry Wall <6849 at jpl-devvax.JPL.NASA.GOV>


More information about the U-Boot mailing list