On 14/11/2019 06.14, Timur Tabi wrote:
> On Fri, Nov 8, 2019 at 7:03 AM Rasmus Villemoes
> wrote:
>>
>> - /*
>> -* Determine if we need Soft-UART mode
>> -*/
>> if (of_find_property(np, "soft-uart", NULL)) {
>> dev_dbg(>dev, "using Soft-UART mode\n");
On Fri, Nov 8, 2019 at 7:03 AM Rasmus Villemoes
wrote:
>
> - /*
> -* Determine if we need Soft-UART mode
> -*/
> if (of_find_property(np, "soft-uart", NULL)) {
> dev_dbg(>dev, "using Soft-UART mode\n");
> soft_uart = 1;
> + }
The "soft uart" mechanism is a workaround for a silicon bug which (as
far as I know) only affects some PPC-based SOCs.
The code that determines which microcode blob to request relies on
some powerpc-specific bits (e.g. the mfspr(SPRN_SVR) and hence also
the asm/reg.h header). This makes it a