[U-Boot] [PATCH] rpi: Enable USB keyboard support

Bin Meng bmeng.cn at gmail.com
Fri Aug 25 05:34:03 UTC 2017


Hi Simon,

On Fri, Aug 25, 2017 at 9:45 AM, Simon Glass <sjg at chromium.org> wrote:
> This is currently disabled, so USB keyboards are not detected in U_Boot.

U-Boot

> Enable this option to fix that.
>
> Signed-off-by: Simon Glass <sjg at chromium.org>
> ---
>
>  configs/rpi_2_defconfig     | 1 +
>  configs/rpi_3_32b_defconfig | 1 +
>  configs/rpi_3_defconfig     | 1 +
>  configs/rpi_defconfig       | 1 +
>  4 files changed, 4 insertions(+)
>
> diff --git a/configs/rpi_2_defconfig b/configs/rpi_2_defconfig
> index 63d1e4042d..5150eed79c 100644
> --- a/configs/rpi_2_defconfig
> +++ b/configs/rpi_2_defconfig
> @@ -15,6 +15,7 @@ CONFIG_SYS_PROMPT="U-Boot> "
>  CONFIG_CMD_GPIO=y
>  CONFIG_CMD_MMC=y
>  CONFIG_CMD_USB=y
> +CONFIG_DM_KEYBOARD=y
>  CONFIG_DM_MMC=y
>  CONFIG_MMC_SDHCI=y
>  CONFIG_MMC_SDHCI_BCM2835=y
> diff --git a/configs/rpi_3_32b_defconfig b/configs/rpi_3_32b_defconfig
> index 343cb197a1..caceb85b07 100644
> --- a/configs/rpi_3_32b_defconfig
> +++ b/configs/rpi_3_32b_defconfig
> @@ -16,6 +16,7 @@ CONFIG_SYS_PROMPT="U-Boot> "
>  CONFIG_CMD_GPIO=y
>  CONFIG_CMD_MMC=y
>  CONFIG_CMD_USB=y
> +CONFIG_DM_KEYBOARD=y
>  CONFIG_DM_MMC=y
>  CONFIG_MMC_SDHCI=y
>  CONFIG_MMC_SDHCI_BCM2835=y
> diff --git a/configs/rpi_3_defconfig b/configs/rpi_3_defconfig
> index 6c9f2e32b5..e3dd1b9124 100644
> --- a/configs/rpi_3_defconfig
> +++ b/configs/rpi_3_defconfig
> @@ -16,6 +16,7 @@ CONFIG_SYS_PROMPT="U-Boot> "
>  CONFIG_CMD_GPIO=y
>  CONFIG_CMD_MMC=y
>  CONFIG_CMD_USB=y
> +CONFIG_DM_KEYBOARD=y
>  CONFIG_DM_MMC=y
>  CONFIG_MMC_SDHCI=y
>  CONFIG_MMC_SDHCI_BCM2835=y
> diff --git a/configs/rpi_defconfig b/configs/rpi_defconfig
> index 6b3cec5ce0..eaf9bb9189 100644
> --- a/configs/rpi_defconfig
> +++ b/configs/rpi_defconfig
> @@ -15,6 +15,7 @@ CONFIG_SYS_PROMPT="U-Boot> "
>  CONFIG_CMD_GPIO=y
>  CONFIG_CMD_MMC=y
>  CONFIG_CMD_USB=y
> +CONFIG_DM_KEYBOARD=y
>  CONFIG_DM_MMC=y
>  CONFIG_MMC_SDHCI=y
>  CONFIG_MMC_SDHCI_BCM2835=y
> --

Reviewed-by: Bin Meng <bmeng.cn at gmail.com>

Regards,
Bin


More information about the U-Boot mailing list