From patchwork Thu Dec 5 14:39:47 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dan Murphy X-Patchwork-Id: 297153 X-Patchwork-Delegate: trini@ti.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 F0D572C0089 for ; Fri, 6 Dec 2013 01:41:08 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id C226CA78EC; Thu, 5 Dec 2013 15:41:07 +0100 (CET) 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 kW2pIqwG7xfR; Thu, 5 Dec 2013 15:41:07 +0100 (CET) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 1DFB0A78E3; Thu, 5 Dec 2013 15:41:06 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 3FC0CA78E3 for ; Thu, 5 Dec 2013 15:40:54 +0100 (CET) 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 o+A7d-Bg98CF for ; Thu, 5 Dec 2013 15:40:48 +0100 (CET) X-policyd-weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 BL_NJABL=ERR(-1.5) (only DNSBL check requested) Received: from bear.ext.ti.com (bear.ext.ti.com [192.94.94.41]) by theia.denx.de (Postfix) with ESMTPS id 3B3DCA78D8 for ; Thu, 5 Dec 2013 15:40:40 +0100 (CET) Received: from dflxv15.itg.ti.com ([128.247.5.124]) by bear.ext.ti.com (8.13.7/8.13.7) with ESMTP id rB5Eecbs010065 for ; Thu, 5 Dec 2013 08:40:38 -0600 Received: from DFLE72.ent.ti.com (dfle72.ent.ti.com [128.247.5.109]) by dflxv15.itg.ti.com (8.14.3/8.13.8) with ESMTP id rB5Eec5w016081 for ; Thu, 5 Dec 2013 08:40:38 -0600 Received: from dflp32.itg.ti.com (10.64.6.15) by DFLE72.ent.ti.com (128.247.5.109) with Microsoft SMTP Server id 14.2.342.3; Thu, 5 Dec 2013 08:40:37 -0600 Received: from legion.dal.design.ti.com (legion.dal.design.ti.com [128.247.22.53]) by dflp32.itg.ti.com (8.14.3/8.13.8) with ESMTP id rB5EecDl004309; Thu, 5 Dec 2013 08:40:38 -0600 Received: from localhost (j-172-22-139-115.vpn.ti.com [172.22.139.115]) by legion.dal.design.ti.com (8.11.7p1+Sun/8.11.7) with ESMTP id rB5Eebt05250; Thu, 5 Dec 2013 08:40:37 -0600 (CST) From: Dan Murphy To: Date: Thu, 5 Dec 2013 08:39:47 -0600 Message-ID: <1386254387-5353-3-git-send-email-dmurphy@ti.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1386254387-5353-1-git-send-email-dmurphy@ti.com> References: <1386254387-5353-1-git-send-email-dmurphy@ti.com> MIME-Version: 1.0 Cc: trini@ti.com Subject: [U-Boot] [RFC] [U-Boot 2/2] arm: am437x: Enable the USB boot device 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 the USB host boot support for the AM437 evm Signed-off-by: Dan Murphy --- arch/arm/include/asm/arch-am33xx/spl.h | 1 + include/configs/am43xx_evm.h | 7 +++++++ 2 files changed, 8 insertions(+) diff --git a/arch/arm/include/asm/arch-am33xx/spl.h b/arch/arm/include/asm/arch-am33xx/spl.h index 95de9aa..166ff24 100644 --- a/arch/arm/include/asm/arch-am33xx/spl.h +++ b/arch/arm/include/asm/arch-am33xx/spl.h @@ -20,6 +20,7 @@ #if defined(CONFIG_AM33XX) || defined(CONFIG_AM43XX) #define BOOT_DEVICE_MMC1 8 #define BOOT_DEVICE_MMC2 9 /* eMMC or daughter card */ +#define BOOT_DEVICE_USB 13 #elif defined(CONFIG_TI814X) #define BOOT_DEVICE_MMC1 9 #define BOOT_DEVICE_MMC2 8 /* ROM only supports 2nd instance */ diff --git a/include/configs/am43xx_evm.h b/include/configs/am43xx_evm.h index d9b6c16..eb3377c 100644 --- a/include/configs/am43xx_evm.h +++ b/include/configs/am43xx_evm.h @@ -129,6 +129,13 @@ #define CONFIG_SYS_SPL_MALLOC_START 0x80a08000 #define CONFIG_SYS_SPL_MALLOC_SIZE 0x100000 +#define CONFIG_SYS_USB_FAT_BOOT_PARTITION 1 +#define CONFIG_SYS_USB_MODE_U_BOOT_SECTOR 0x300 + +/* SPL USB Support */ +#define CONFIG_SPL_USB_SUPPORT +#define CONFIG_SPL_USB_HOST_SUPPORT + /* Unsupported features */ #undef CONFIG_USE_IRQ