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

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


Dear Stephan Linz,

In message <1322173972-11048-1-git-send-email-linz at li-pro.net> you 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(-)

Applied, thanks.

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 find this a nice feature but it is not according to  the  documen-
tation. Or is it a BUG?"   "Let's call it an accidental feature. :-)"
                       - Larry Wall in <6909 at jpl-devvax.JPL.NASA.GOV>


More information about the U-Boot mailing list