aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDzmitry Sankouski <dsankouski@gmail.com>2022-12-27 22:47:08 +0300
committerTom Rini <trini@konsulko.com>2023-01-10 15:39:07 -0500
commit40c69cc922c7874301bbb543508e5f591f4e30d4 (patch)
treeb8e128820da0516dc0b1be4be528e7ebea0a8cfb
parent221ae89bc8606d79c01a51acc30772e5892acc3d (diff)
downloadu-boot-40c69cc922c7874301bbb543508e5f591f4e30d4.zip
u-boot-40c69cc922c7874301bbb543508e5f591f4e30d4.tar.gz
u-boot-40c69cc922c7874301bbb543508e5f591f4e30d4.tar.bz2
board: starqltechn: enable serial console
It was temporary disabled due to problem with boot. Issue was fixed in commit f5ed6c9ccf3e ("uart: sdm845: Fix debug UART pinmux") Signed-off-by: Dzmitry Sankouski <dsankouski@gmail.com>
-rw-r--r--configs/starqltechn_defconfig4
-rw-r--r--include/configs/sdm845.h5
2 files changed, 5 insertions, 4 deletions
diff --git a/configs/starqltechn_defconfig b/configs/starqltechn_defconfig
index 7955076..7a64f2a 100644
--- a/configs/starqltechn_defconfig
+++ b/configs/starqltechn_defconfig
@@ -20,14 +20,14 @@ CONFIG_SYS_PBSIZE=532
CONFIG_CMD_GPIO=y
CONFIG_CMD_BMP=y
# CONFIG_NET is not set
-# CONFIG_DM_STDIO is not set
CONFIG_CLK=y
CONFIG_MSM_GPIO=y
CONFIG_QCOM_PMIC_GPIO=y
CONFIG_PINCTRL=y
CONFIG_DM_PMIC=y
CONFIG_PMIC_QCOM=y
-# CONFIG_REQUIRE_SERIAL_CONSOLE is not set
+CONFIG_REQUIRE_SERIAL_CONSOLE=y
+CONFIG_MSM_GENI_SERIAL=y
CONFIG_SPMI_MSM=y
CONFIG_VIDEO=y
CONFIG_SYS_WHITE_ON_BLACK=y
diff --git a/include/configs/sdm845.h b/include/configs/sdm845.h
index 9a4fe53..2211751 100644
--- a/include/configs/sdm845.h
+++ b/include/configs/sdm845.h
@@ -16,8 +16,9 @@
#define CFG_EXTRA_ENV_SETTINGS \
"bootm_size=0x4000000\0" \
"bootm_low=0x80000000\0" \
- "stdout=vidconsole\0" \
- "stderr=vidconsole\0" \
+ "stdin=serial\0" \
+ "stdout=serial,vidconsole\0" \
+ "stderr=serial,vidconsole\0" \
"preboot=source $prevbl_initrd_start_addr:prebootscript\0" \
"bootcmd=source $prevbl_initrd_start_addr:bootscript\0"