[PATCH v13 2/5] uart: pl011: Introduce register accessor
Timur Tabi
timur at codeaurora.org
Wed Oct 28 07:51:35 PDT 2015
On 10/28/2015 09:22 AM, Peter Hurley wrote:
> EARLYCON_DECLARE(zte, zte_early_console_setup);
> OF_EARLYCON_DECLARE(zte, ".......", zte_early_console_setup);
> EARLYCON_DECLARE(sbsa32, sbsa32_early_console_setup);
> OF_EARLYCON_DECLARE(sbsa32, "arm,sbsa-uart", sbsa32_early_console_setup);
>
> The above assumes that the sbsa32 maintains the equivalence of
> earlycon and console; ie., that
>
> / {
> chosen {
> stdout-path = &uart0;
> };
>
> soc {
> uart0: serial at xxxxxx {
> compatible = "arm,sbsa-uart";
> };
> };
> };
>
>
> will start a sbsa32 earlycon and later replace that with
> sbsa console.
I never really understood the device tree support for SBSA. The "S"
stands for Server, and ARM Server systems are supposed to use ACPI.
It's easy to add special cases via device tree, because of its
flexibility. ACPI is much more difficult, and that's why I used the
command-line approach.
Anyway, I found this alternate patch from Lief Lindholm that implements
this idea better, although it needs work:
https://patches.linaro.org/53265/
--
Qualcomm Innovation Center, Inc.
The Qualcomm Innovation Center, Inc. is a member of the
Code Aurora Forum, a Linux Foundation Collaborative Project.
More information about the linux-arm-kernel
mailing list