]> git.baikalelectronics.ru Git - kernel.git/commit
of/fdt: add FDT serial scanning for earlycon
authorRob Herring <robh@kernel.org>
Thu, 27 Mar 2014 13:07:01 +0000 (08:07 -0500)
committerRob Herring <robh@kernel.org>
Tue, 20 May 2014 20:19:26 +0000 (15:19 -0500)
commit282ace336c7af37d5eb9ddee3fa59bd4c93e4ad1
tree67a58a06a67ea7e0ac7374d604312d2207457498
parenta6ee60e238a0ecabcdecf13f22643b40b90d4703
of/fdt: add FDT serial scanning for earlycon

This adds FDT parsing of {linux,}stdout-path to setup an early serial
console. Enabling of the early console is triggered with "earlycon"
(with no options) on the kernel command line.

Platforms must either have fixmap permanent mapping support,
have a functioning ioremap when early params are parsed, or explicitly
call early_init_dt_scan_chosen_serial from architecture code.

Signed-off-by: Rob Herring <robh@kernel.org>
Acked-by: Grant Likely <grant.likely@linaro.org>
drivers/of/fdt.c