Re: [PATCH] of/fdt: fix aliases with baudrate in earlycon

From: Rob Herring
Date: Tue Oct 13 2015 - 16:16:46 EST


On Sat, Oct 10, 2015 at 7:48 AM, Peter Hurley <peter@xxxxxxxxxxxxxxxxxx> wrote:
> On 10/10/2015 04:29 AM, Stefan Agner wrote:
>> Many boards use an alias in the stdout-path specification along
>> with console options after a colon (e.g. serial0:115200n8). When
>> using earlycon, this specification currently does not work. While
>> fdt_path_offset supports alias resolution, it does not remove the
>> console options by itself. Use the fdt_path_offset_namelen variant
>> and provide the length of the alias to enable aliases with console
>> options in the stdout-path.
>>
>> Signed-off-by: Stefan Agner <stefan@xxxxxxxx>
>> ---
>> Hi,
>>
>> Stumbled upon this while testing 32-bit ARM earlycon support. It
>> seems that this once already came up on the list:
>> https://lkml.org/lkml/2015/3/13/562
>
> Yeah, looks like my patch got lost somewhere.
> https://lkml.org/lkml/2015/4/8/604

Sorry about that. I forgot about it after getting the dtc dependency
done I guess.

I've now applied this version.

Rob
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/