]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
microblaze: usable uart16550 for big endian systems
authorStephan Linz <linz@li-pro.net>
Thu, 24 Nov 2011 12:32:52 +0000 (12:32 +0000)
committerWolfgang Denk <wd@denx.de>
Sun, 27 Nov 2011 14:49:48 +0000 (15:49 +0100)
commit1de55ef105f9e00ea313c91679fed6560c63f447
tree9e6655d76cb2e98b18bff4ea763a4b563d117932
parent94f61429574f367f64a7ebb92fa664123cee468b
microblaze: usable uart16550 for big endian systems

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@li-pro.net>
Tested-by: Michal Simek <monstr@monstr.eu>
include/configs/microblaze-generic.h