From patchwork Tue Feb 26 20:50:20 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tom Rini X-Patchwork-Id: 223395 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 748172C0085 for ; Wed, 27 Feb 2013 07:50:43 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 216564A08F; Tue, 26 Feb 2013 21:50:39 +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 m2jMhyLI2mfx; Tue, 26 Feb 2013 21:50:38 +0100 (CET) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 2807F4A094; Tue, 26 Feb 2013 21:50:35 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id DEFA04A088 for ; Tue, 26 Feb 2013 21:50:31 +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 zXADmesCrUFB for ; Tue, 26 Feb 2013 21:50:30 +0100 (CET) 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 mail-ye0-f176.google.com (mail-ye0-f176.google.com [209.85.213.176]) by theia.denx.de (Postfix) with ESMTPS id C367C4A04F for ; Tue, 26 Feb 2013 21:50:26 +0100 (CET) Received: by mail-ye0-f176.google.com with SMTP id m1so753136yen.7 for ; Tue, 26 Feb 2013 12:50:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:sender:from:to:subject:date:message-id:x-mailer :in-reply-to:references; bh=1sKcRUIDEHa+4SuZCaFxRCISm+dS8N0TZhRzaUrzCTs=; b=ZVeFAx+Bevx7i9f06TlIn7o+n3k8ZHKz8KsqtWQZDtV1j5U5rSmTVSp6DNtLCRM62N qrsEsxrHsF0PErPNw4cnncMT0iTe63MpyT5Q369Rq2LLT0g0IsKwPsZjn9+Wi7nayAZn sHzl/pMXQ4NSI8rSARS6nhMiRl7mhCVGk16/mJrTwGnfRF774/PlrVzUFxw5zBkL8Jcn oJSbcbW87qmYK6MeEzj08EBhuXmq70jiNzwk2CoBQEX4ecmS5dzjsUN9CKSw/sWizlyH cinamFolR0DkqBdCxwwy8FcZB38LfFB10LBAb0wpxrQ70vR/43dN7mH/Ti1W8+MtDAnn kpCQ== X-Received: by 10.236.131.169 with SMTP id m29mr24738456yhi.114.1361911824531; Tue, 26 Feb 2013 12:50:24 -0800 (PST) Received: from localhost.localdomain (cpe-065-184-250-089.ec.res.rr.com. [65.184.250.89]) by mx.google.com with ESMTPS id f20sm1973382ang.10.2013.02.26.12.50.22 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 26 Feb 2013 12:50:23 -0800 (PST) From: Tom Rini To: u-boot@lists.denx.de Date: Tue, 26 Feb 2013 15:50:20 -0500 Message-Id: <1361911820-10068-2-git-send-email-trini@ti.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1361911820-10068-1-git-send-email-trini@ti.com> References: <1361911820-10068-1-git-send-email-trini@ti.com> Subject: [U-Boot] [PATCH 2/2] am335x_evm: Add am335x_evm_usbspl build target 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: , MIME-Version: 1.0 Sender: u-boot-bounces@lists.denx.de Errors-To: u-boot-bounces@lists.denx.de We add USB (RNDIS gadget) SPL support as a separate target. We need to pull out YMODEM support in order to be a small enough target binary. Signed-off-by: Tom Rini --- board/ti/am335x/board.c | 2 +- boards.cfg | 1 + include/configs/am335x_evm.h | 4 +--- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/board/ti/am335x/board.c b/board/ti/am335x/board.c index 441758f..f4b972b 100644 --- a/board/ti/am335x/board.c +++ b/board/ti/am335x/board.c @@ -73,7 +73,7 @@ static inline int board_is_idk(void) return !strncmp(header.config, "SKU#02", 6); } -static int board_is_gp_evm(void) +static int __maybe_unused board_is_gp_evm(void) { return !strncmp("A33515BB", header.name, 8); } diff --git a/boards.cfg b/boards.cfg index 5766f86..9877f53 100644 --- a/boards.cfg +++ b/boards.cfg @@ -239,6 +239,7 @@ am335x_evm_uart2 arm armv7 am335x ti am335x_evm_uart3 arm armv7 am335x ti am33xx am335x_evm:SERIAL4,CONS_INDEX=4 am335x_evm_uart4 arm armv7 am335x ti am33xx am335x_evm:SERIAL5,CONS_INDEX=5 am335x_evm_uart5 arm armv7 am335x ti am33xx am335x_evm:SERIAL6,CONS_INDEX=6 +am335x_evm_usbspl arm armv7 am335x ti am33xx am335x_evm:SERIAL1,CONS_INDEX=1,SPL_USBETH_SUPPORT pcm051 arm armv7 pcm051 phytec am33xx pcm051 highbank arm armv7 highbank - highbank mx51_efikamx arm armv7 mx51_efikamx genesi mx5 mx51_efikamx:MACH_TYPE=MACH_TYPE_MX51_EFIKAMX,IMX_CONFIG=board/genesi/mx51_efikamx/imximage_mx.cfg diff --git a/include/configs/am335x_evm.h b/include/configs/am335x_evm.h index 630cd48..e8b775e 100644 --- a/include/configs/am335x_evm.h +++ b/include/configs/am335x_evm.h @@ -365,11 +365,9 @@ /* disable host part of MUSB in SPL */ #undef CONFIG_MUSB_HOST /* - * Disable UART, CPSW ethernet support and extra environment settings so we - * will fit within 101KiB. + * Disable UART SPL support so we fit within the 101KiB limit. */ #undef CONFIG_SPL_ETH_SUPPORT -#undef CONFIG_SPL_YMODEM_SUPPORT #endif /*