From c98162e75d93204c4194e6437a28d2bbf006466c Mon Sep 17 00:00:00 2001 From: Mukesh Ojha Date: Tue, 16 Jun 2020 18:17:24 +0530 Subject: [PATCH] ARM: dts: msm: Add earlycon parameter in DT for Lahaina and Shima As Lahaina and Shima will be binary compatible and it seems there qup addresses are different. So, better to update in bootargs in device tree instead of doing it in boardconfig cmdline. Change-Id: Ib2a006dc893de0640b3292d0c284e65d54dd3514 --- qcom/lahaina.dtsi | 2 +- qcom/shima.dtsi | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/qcom/lahaina.dtsi b/qcom/lahaina.dtsi index a645bc00769c..53d69c648a46 100644 --- a/qcom/lahaina.dtsi +++ b/qcom/lahaina.dtsi @@ -511,7 +511,7 @@ }; chosen { - bootargs = "log_buf_len=256K"; + bootargs = "log_buf_len=256K earlycon=msm_geni_serial,0x98c000"; }; }; diff --git a/qcom/shima.dtsi b/qcom/shima.dtsi index 36d8b95c6ad2..416945a357a4 100644 --- a/qcom/shima.dtsi +++ b/qcom/shima.dtsi @@ -346,9 +346,11 @@ }; - soc: soc { }; + chosen { + bootargs = "earlycon=msm_geni_serial,0x994000"; + }; - chosen { }; + soc: soc { }; firmware: firmware { scm {