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

Michal Simek monstr at monstr.eu
Fri Nov 25 11:30:36 CET 2011


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.

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


More information about the U-Boot mailing list