Files
kernel_xiaomi_sm8250/include/linux
Aleksey Makarov ad1696f6f0 ACPI: parse SPCR and enable matching console
'ARM Server Base Boot Requiremets' [1] mentions SPCR (Serial Port
Console Redirection Table) [2] as a mandatory ACPI table that
specifies the configuration of serial console.

Defer initialization of DT earlycon until ACPI/DT decision is made.

Parse the ACPI SPCR table, setup earlycon if required,
enable specified console.

Thanks to Peter Hurley for explaining how this should work.

[1] http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.den0044a/index.html
[2] https://msdn.microsoft.com/en-us/library/windows/hardware/dn639132(v=vs.85).aspx

Signed-off-by: Aleksey Makarov <aleksey.makarov@linaro.org>
Acked-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Reviewed-by: Peter Hurley <peter@hurleysoftware.com>
Tested-by: Kefeng Wang <wangkefeng.wang@huawei.com>
Tested-by: Christopher Covington <cov@codeaurora.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2016-09-28 17:46:46 +02:00
..
2016-07-25 11:47:52 +01:00
2016-08-16 09:16:51 -06:00
2016-08-04 08:50:07 -04:00
2016-08-07 14:41:02 -06:00
2016-08-07 14:41:02 -06:00
2016-08-16 09:16:51 -06:00
2016-08-11 09:41:35 -06:00
2016-08-02 19:35:24 -04:00
2016-07-26 16:19:19 -07:00
2016-09-01 11:11:59 +02:00
2016-07-22 09:07:02 +02:00
2016-08-02 19:35:44 -04:00
2016-08-04 10:16:55 +09:30
2016-07-29 12:17:52 -07:00
2016-07-28 16:07:41 -07:00
2016-07-26 16:19:19 -07:00
2016-07-20 23:30:06 -04:00
2016-08-28 23:44:55 -04:00
2016-07-19 17:43:38 +03:00
2016-07-26 16:19:19 -07:00