Skip to contentSkip to conversation

tty: serial: msm: Add DT based earlycon support

PATCH Superseded Stephen Boyd 1 participant 1 message Jul 22, 2014

Subsystems (2)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 tty: serial: msm: Add DT based earlycon support

Add support for DT based early console on platforms with the msm serial hardware.

---

I've tested this on top of Rob's arm-fixmap[1] branch and a cherry-pick of commit 68252424a7c7 (tty: serial: msm: Support big-endian CPUs, 2014-06-30) and the merge of commit 45e0f0f56843 (tty/serial: pl011: add DT based earlycon support, 2014-03-27)

[1] git://git.kernel.org/pub/scm/linux/kernel/git/robh/linux.git arm-fixmap

 drivers/tty/serial/Kconfig      |  1 +
 drivers/tty/serial/msm_serial.c | 72 ++++++++++++++++++++++++++++++++++-------
 2 files changed, 61 insertions(+), 12 deletions(-)
drivers/tty/serial/Kconfig +1 -0
index 26cec64dadd7..903a3277fa60 100644
@@ -1051,6 +1051,7 @@ config SERIAL_MSM_CONSOLE
 	bool "MSM serial console support"
 	depends on SERIAL_MSM=y
 	select SERIAL_CORE_CONSOLE
+	select SERIAL_EARLYCON
 
 config SERIAL_MSM_HS
 	tristate "MSM UART High Speed: Serial Driver"
drivers/tty/serial/msm_serial.c +60 -12

108 lines not on this page · raw message

Signature · 2 lines
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
hosted by The Linux Foundation