Skip to content
Snippets Groups Projects
Commit 1de55ef1 authored by Stephan Linz's avatar Stephan Linz Committed by Wolfgang Denk
Browse files

microblaze: usable uart16550 for big endian systems


As a result of the commit 68332608 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: default avatarStephan Linz <linz@li-pro.net>
Tested-by: default avatarMichal Simek <monstr@monstr.eu>
parent 94f61429
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment