]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
configs: am65x_evm: Enable USB keyboard as second stdin
authorVignesh Raghavendra <vigneshr@ti.com>
Mon, 9 Dec 2019 05:07:36 +0000 (10:37 +0530)
committerLokesh Vutla <lokeshvutla@ti.com>
Mon, 20 Jan 2020 04:40:29 +0000 (10:10 +0530)
Enable USB keyboard to be used as input device at U-Boot prompt. Both
serial and USB keyboard will be active inputs simultaneously.

Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>
Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
configs/am65x_evm_a53_defconfig
include/configs/am65x_evm.h

index 5dbc31523ccf48ae9f0edfb7713ed5b7c0e19c24..30c104702425c1f54ad5d9a287218b6223b12e98 100644 (file)
@@ -21,6 +21,7 @@ CONFIG_DISTRO_DEFAULTS=y
 CONFIG_SPL_LOAD_FIT=y
 CONFIG_OF_BOARD_SETUP=y
 CONFIG_BOOTCOMMAND="run findfdt; run envboot; run init_${boot}; run boot_rprocs; run get_kern_${boot}; run get_fdt_${boot}; run get_overlay_${boot}; run run_kern"
+CONFIG_CONSOLE_MUX=y
 CONFIG_SPL_SYS_MALLOC_SIMPLE=y
 CONFIG_SPL_STACK_R=y
 CONFIG_SPL_SEPARATE_BSS=y
@@ -70,6 +71,7 @@ CONFIG_DM_PCA953X=y
 CONFIG_DM_I2C=y
 CONFIG_I2C_SET_DEFAULT_BUS_NUM=y
 CONFIG_SYS_I2C_OMAP24XX=y
+CONFIG_DM_KEYBOARD=y
 CONFIG_DM_MAILBOX=y
 CONFIG_K3_SEC_PROXY=y
 CONFIG_DM_MMC=y
@@ -112,6 +114,7 @@ CONFIG_USB_XHCI_DWC3=y
 CONFIG_USB_DWC3=y
 CONFIG_USB_DWC3_GADGET=y
 CONFIG_USB_DWC3_GENERIC=y
+CONFIG_USB_KEYBOARD=y
 CONFIG_USB_GADGET=y
 CONFIG_USB_GADGET_MANUFACTURER="Texas Instruments"
 CONFIG_USB_GADGET_VENDOR_NUM=0x0451
index 9a120cad89e332d41615b3a3a46380d3b430d7e6..7d7f86a0598a2238e5989fb56d030fe3175eff15 100644 (file)
@@ -72,6 +72,7 @@
        "overlayaddr=0x83000000\0"                                      \
        "name_kern=Image\0"                                             \
        "console=ttyS2,115200n8\0"                                      \
+       "stdin=serial,usbkbd\0"                                         \
        "args_all=setenv optargs earlycon=ns16550a,mmio32,0x02800000\0" \
        "run_kern=booti ${loadaddr} ${rd_spec} ${fdtaddr}\0"            \