Skip to content
Snippets Groups Projects
Commit ab25e880 authored by Stefan Roese's avatar Stefan Roese
Browse files

ppc4xx: POST UART: Use in/out_8() io-accessor functions


This patch fixes a problem in the PPC4xx POST UART driver. This driver
incorrectly used the in/out8() io-accessor functions. This could lead to
problems since these functions don't guarantee execution ordering. This
patch now replaces these functions with the correct ones.

Additionally the driver is converted to using the NS16550 struct instead
of macros for the register offsets.

And some common code is factored out for better maintainability.

Signed-off-by: default avatarStefan Roese <sr@denx.de>
parent 6aa9195d
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.
Finish editing this message first!
Please register or to comment