]> git.sur5r.net Git - u-boot/commitdiff
rockchip: firefly: Set the environment variable 'usbkbd' to the stdin
authorLeo Wen <leo.wen@rock-chips.com>
Tue, 25 Jul 2017 12:47:46 +0000 (20:47 +0800)
committerPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>
Thu, 27 Jul 2017 12:59:03 +0000 (14:59 +0200)
Add the 'usbkbd' environment variable to the 'stdin', the contents of
the keyboard input can be auto-displayed on the serial terminal,so
you don't need to manually set the environment variable 'stdin'.

Signed-off-by: Leo Wen <leo.wen@rock-chips.com>
Acked-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Reviewed-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
include/configs/firefly-rk3288.h

index bd39111710efa516f1ff796e8bd962ad88e3b503..2b0ac9ec5f43e62c8bb47679063bcd5b72538cf5 100644 (file)
@@ -8,7 +8,7 @@
 #define __CONFIG_H
 
 #define ROCKCHIP_DEVICE_SETTINGS \
-               "stdin=serial,cros-ec-keyb\0" \
+               "stdin=serial,usbkbd\0" \
                "stdout=serial,vidconsole\0" \
                "stderr=serial,vidconsole\0"