From patchwork Mon Oct 22 21:39:30 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Allen Martin X-Patchwork-Id: 193293 X-Patchwork-Delegate: twarren@nvidia.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from theia.denx.de (theia.denx.de [85.214.87.163]) by ozlabs.org (Postfix) with ESMTP id 11FD72C00A6 for ; Tue, 23 Oct 2012 08:40:43 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id B8FFF4A281; Mon, 22 Oct 2012 23:40:37 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at theia.denx.de Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id h0tOU74jV11x; Mon, 22 Oct 2012 23:40:37 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 6DEC34A28A; Mon, 22 Oct 2012 23:40:35 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 7DE1C4A27C for ; Mon, 22 Oct 2012 23:40:22 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at theia.denx.de Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id FfaXnV2O0Fwr for ; Mon, 22 Oct 2012 23:40:07 +0200 (CEST) X-policyd-weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 NOT_IN_BL_NJABL=-1.5 (only DNSBL check requested) Received: from hqemgate04.nvidia.com (hqemgate04.nvidia.com [216.228.121.35]) by theia.denx.de (Postfix) with ESMTPS id 75EF14A28A for ; Mon, 22 Oct 2012 23:39:59 +0200 (CEST) Received: from hqnvupgp05.nvidia.com (Not Verified[216.228.121.13]) by hqemgate04.nvidia.com id ; Mon, 22 Oct 2012 14:39:23 -0700 Received: from hqemhub02.nvidia.com ([172.17.108.22]) by hqnvupgp05.nvidia.com (PGP Universal service); Mon, 22 Oct 2012 14:39:55 -0700 X-PGP-Universal: processed; by hqnvupgp05.nvidia.com on Mon, 22 Oct 2012 14:39:55 -0700 Received: from badger.nvidia.com (172.20.144.16) by hqemhub02.nvidia.com (172.20.150.31) with Microsoft SMTP Server id 8.3.279.1; Mon, 22 Oct 2012 14:39:55 -0700 From: Allen Martin To: , , Date: Mon, 22 Oct 2012 14:39:30 -0700 Message-ID: <1350941971-10282-2-git-send-email-amartin@nvidia.com> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1350941971-10282-1-git-send-email-amartin@nvidia.com> References: <1350941971-10282-1-git-send-email-amartin@nvidia.com> X-NVConfidentiality: public MIME-Version: 1.0 Cc: u-boot@lists.denx.de Subject: [U-Boot] [PATCH 2/2] tegra: seaboard: Enable USB keyboard X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.11 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: u-boot-bounces@lists.denx.de Errors-To: u-boot-bounces@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