summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSoeren Moch <[email protected]>2022-09-20 18:05:41 +0200
committerStefano Babic <[email protected]>2022-10-21 11:54:13 +0200
commit8d2cbb096ca980b4935f22abe92e20e29c089a00 (patch)
treefa1f308da391fda8c8b36cb251234c7dd41e81df
parent8949eb6f9cdfce19669515ec2d4a0136e9d8ef6e (diff)
board: tbs2910: Add serial rx buffer in defconfig
... to avoid loosing characters when pasting text into the serial console. This allows to remove the workaround to disable the vidconsole output when no HDMI device is detected. This workaround only was there to speed-up serial console processing. Signed-off-by: Soeren Moch <[email protected]> Reviewed-by: Fabio Estevam <[email protected]>
-rw-r--r--configs/tbs2910_defconfig3
-rw-r--r--include/configs/tbs2910.h4
2 files changed, 2 insertions, 5 deletions
diff --git a/configs/tbs2910_defconfig b/configs/tbs2910_defconfig
index 59444372e93..20de590e276 100644
--- a/configs/tbs2910_defconfig
+++ b/configs/tbs2910_defconfig
@@ -24,7 +24,7 @@ CONFIG_BOOTDELAY=3
CONFIG_USE_BOOTCOMMAND=y
CONFIG_BOOTCOMMAND="mmc rescan; if run bootcmd_up1; then run bootcmd_up2; else run bootcmd_mmc || run distro_bootcmd; fi"
CONFIG_USE_PREBOOT=y
-CONFIG_PREBOOT="echo PCI:; pci enum; pci 1; usb start; if hdmidet; then run set_con_hdmi; else run set_con_serial; fi"
+CONFIG_PREBOOT="echo PCI:; pci enum; pci 1; usb start"
CONFIG_DEFAULT_FDT_FILE="imx6q-tbs2910.dtb"
CONFIG_PRE_CONSOLE_BUFFER=y
CONFIG_HUSH_PARSER=y
@@ -89,6 +89,7 @@ CONFIG_PINCTRL_IMX6=y
CONFIG_DM_RTC=y
CONFIG_RTC_DS1307=y
CONFIG_DM_SERIAL=y
+CONFIG_SERIAL_RX_BUFFER=y
CONFIG_MXC_UART=y
CONFIG_DM_THERMAL=y
CONFIG_IMX_THERMAL=y
diff --git a/include/configs/tbs2910.h b/include/configs/tbs2910.h
index c93df00d58d..7f197851d0a 100644
--- a/include/configs/tbs2910.h
+++ b/include/configs/tbs2910.h
@@ -61,10 +61,6 @@
"pxefile_addr_r=0x10100000\0" \
"ramdisk_addr_r=0x18080000\0" \
"scriptaddr=0x10000000\0" \
- "set_con_serial=setenv stdout serial; " \
- "setenv stderr serial\0" \
- "set_con_hdmi=setenv stdout serial,vidconsole; " \
- "setenv stderr serial,vidconsole\0" \
"stderr=serial,vidconsole\0" \
"stdin=serial,usbkbd\0" \
"stdout=serial,vidconsole\0"