]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
board: tbs2910: Add serial rx buffer in defconfig
authorSoeren Moch <smoch@web.de>
Tue, 20 Sep 2022 16:05:41 +0000 (18:05 +0200)
committerStefano Babic <sbabic@denx.de>
Fri, 21 Oct 2022 09:54:13 +0000 (11:54 +0200)
... 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 <smoch@web.de>
Reviewed-by: Fabio Estevam <festevam@denx.de>
configs/tbs2910_defconfig
include/configs/tbs2910.h

index 59444372e93d42f3b089907c470fdab52d156bf9..20de590e276cd2d969d493a3606ecab6ba7eab26 100644 (file)
@@ -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
index c93df00d58dcde766ed1c7372e739dc31ca08d3a..7f197851d0a76970c56d8ea74c427432fdc937e1 100644 (file)
        "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"