From: Allen Martin Date: Mon, 22 Oct 2012 14:39:30 -0700 Subject: [U-Boot] [PATCH 2/2] tegra: seaboard: Enable USB keyboard In-Reply-To: <1350941971-10282-1-git-send-email-amartin@nvidia.com> References: <1350941971-10282-1-git-send-email-amartin@nvidia.com> Message-ID: <1350941971-10282-2-git-send-email-amartin@nvidia.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Enable USB keyboard for the springbank variant of seaboard Signed-off-by: Allen Martin --- include/configs/seaboard.h | 5 ++++- include/configs/tegra20-common.h | 5 +++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/include/configs/seaboard.h b/include/configs/seaboard.h index 0727a4c..9e27050 100644 --- a/include/configs/seaboard.h +++ b/include/configs/seaboard.h @@ -33,6 +33,9 @@ #define CONFIG_TPS6586X_POWER #define CONFIG_TEGRA_CLOCK_SCALING +/* Enable USB keyboard */ +#define CONFIG_USB_KEYBOARD + #include "tegra20-common.h" /* Enable fdt support for Seaboard. Flash the image in u-boot-dtb.bin */ @@ -99,7 +102,7 @@ #define CONFIG_KEYBOARD #undef TEGRA_DEVICE_SETTINGS -#define TEGRA_DEVICE_SETTINGS "stdin=serial,tegra-kbc\0" \ +#define TEGRA_DEVICE_SETTINGS "stdin=serial,tegra-kbc,usbkbd\0" \ "stdout=serial\0" \ "stderr=serial\0" diff --git a/include/configs/tegra20-common.h b/include/configs/tegra20-common.h index d7d6dc3..1448888 100644 --- a/include/configs/tegra20-common.h +++ b/include/configs/tegra20-common.h @@ -102,6 +102,11 @@ #define CONFIG_EHCI_IS_TDI #define CONFIG_EHCI_DCACHE +#ifdef CONFIG_USB_KEYBOARD +#define CONFIG_SYS_USB_EVENT_POLL +#define CONFIG_PREBOOT "usb start" +#endif /* CONFIG_USB_KEYBOARD */ + /* Total I2C ports on Tegra20 */ #define TEGRA_I2C_NUM_CONTROLLERS 4 -- 1.7.10.4