From patchwork Tue Jan 22 22:59:28 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tom Rini X-Patchwork-Id: 214690 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 7F57C2C007B for ; Wed, 23 Jan 2013 09:59:41 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id BA2FD4A146; Tue, 22 Jan 2013 23:59: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 yIGy0e4At+ys; Tue, 22 Jan 2013 23:59:38 +0100 (CET) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id E3CB24A143; Tue, 22 Jan 2013 23:59:37 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 346344A143 for ; Tue, 22 Jan 2013 23:59:36 +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 ktKIBCaMHULL for ; Tue, 22 Jan 2013 23:59:35 +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-gg0-f179.google.com (mail-gg0-f179.google.com [209.85.161.179]) by theia.denx.de (Postfix) with ESMTPS id 511BB4A13B for ; Tue, 22 Jan 2013 23:59:34 +0100 (CET) Received: by mail-gg0-f179.google.com with SMTP id h4so387562ggn.10 for ; Tue, 22 Jan 2013 14:59:33 -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=/bEfH+z19foZs8c4SaHfJf935fJziOdhhFDvF1P6f48=; b=B6t0WEPq6JCJRWk/CnuHt+Uc8IVZQSfxverbMgGJsu92vEkEFyzWQX/NL6qrXnnQbd 9qQgji0W/FhD9LFdCT1oY5UcqQlczk95wCjN8BNFBXFWuR55lE3ViSAB9kF9fZiRZZV6 R+a5MGABoZLQ9bbzlkeHNVhNorFtEdZbgyiVha7lLrXvlUsCeNrDIdK/4Mm3BLEvCn/n WGg5EEn/BopAXdu7zfB7c+1Yp4FZzgS0l+R3iN4XKgWz6+jdkr3yzhd36RdY3rPL3c07 sa2bmL1wbht9xEZ4gwBAw2UHSvPIMslypxSK3ssNdUukB0SosjHYvyYXQIhYIeD3ysUy 3TAQ== X-Received: by 10.101.57.12 with SMTP id j12mr7370723ank.39.1358895573175; Tue, 22 Jan 2013 14:59:33 -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 h44sm18181484yhn.2.2013.01.22.14.59.30 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 22 Jan 2013 14:59:31 -0800 (PST) From: Tom Rini To: u-boot@lists.denx.de Date: Tue, 22 Jan 2013 15:59:28 -0700 Message-Id: <1358895568-6320-1-git-send-email-trini@ti.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1356971563-23478-1-git-send-email-ilya.yanok@cogentembedded.com> References: <1356971563-23478-1-git-send-email-ilya.yanok@cogentembedded.com> Subject: [U-Boot] [PATCH 1/1] am335x_evm: Add am335x_evm_usbspl boot 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 With USB SPL support, we need to trim out some features in order to fit within our memory constraints. To allow for the most re-use of the resulting binary, we drop out CPSW ethernet and UART support, along with the extra environment settings as those are unused by SPL. Signed-off-by: Tom Rini --- boards.cfg | 1 + include/configs/am335x_evm.h | 7 ++++++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/boards.cfg b/boards.cfg index b519bc4..fb0b9ac 100644 --- a/boards.cfg +++ b/boards.cfg @@ -236,6 +236,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 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 mx51_efikasb arm armv7 mx51_efikamx genesi mx5 mx51_efikamx:MACH_TYPE=MACH_TYPE_MX51_EFIKASB,IMX_CONFIG=board/genesi/mx51_efikamx/imximage_sb.cfg diff --git a/include/configs/am335x_evm.h b/include/configs/am335x_evm.h index 391f705..f35ab82 100644 --- a/include/configs/am335x_evm.h +++ b/include/configs/am335x_evm.h @@ -239,7 +239,6 @@ #define CONFIG_SYS_SPI_U_BOOT_OFFS 0x20000 #define CONFIG_SYS_SPI_U_BOOT_SIZE 0x40000 #define CONFIG_SPL_MUSB_NEW_SUPPORT -#define CONFIG_SPL_USBETH_SUPPORT #define CONFIG_SPL_LDSCRIPT "$(CPUDIR)/omap-common/u-boot-spl.lds" #define CONFIG_SPL_BOARD_INIT @@ -320,6 +319,12 @@ #ifdef CONFIG_SPL_BUILD /* disable host part of MUSB in SPL */ #undef CONFIG_MUSB_HOST +/* Disable SPI and CPSW ethernet support so we can fit. */ +#ifdef CONFIG_SPL_USBETH_SUPPORT +#undef CONFIG_SPL_ETH_SUPPORT +#undef CONFIG_SPL_YMODEM_SUPPORT +#undef CONFIG_EXTRA_ENV_SETTINGS +#endif #endif /* Unsupported features */