Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit c95efee1 authored by Eric Miao's avatar Eric Miao
Browse files

[ARM] pxa: refactor uncompress.h for non-PXA uarts



The original patch came from Marc Zyngier where support of 8250-compatible
UART is required to show the uncompress information. Modified a little bit
here, including changes below:

1. #include <mach/regs-uart.h> is actually not necessary
2. introduced uart_{read,write}() for different base and shift
3. introduced uart_is_enabled() and assumed enabled always for
   non-PXA uarts

Signed-off-by: default avatarEric Miao <eric.y.miao@gmail.com>
Acked-by: default avatarMarc Zyngier <maz@misterjones.org>
parent 2029e564
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment