public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Tom Rini <trini@ti.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 1/1] am335x_evm: Add am335x_evm_usbspl boot target
Date: Tue, 22 Jan 2013 15:59:28 -0700	[thread overview]
Message-ID: <1358895568-6320-1-git-send-email-trini@ti.com> (raw)
In-Reply-To: <1356971563-23478-1-git-send-email-ilya.yanok@cogentembedded.com>

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 <trini@ti.com>
---
 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 */
-- 
1.7.9.5

      parent reply	other threads:[~2013-01-22 22:59 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-31 16:32 [U-Boot] [PATCH 0/5] am335x_evm: support for booting via USB Ilya Yanok
2012-12-31 16:32 ` [U-Boot] [PATCH 1/5] spl: support for booting via usbeth Ilya Yanok
2012-12-31 16:32 ` [U-Boot] [PATCH 2/5] am33xx: " Ilya Yanok
2013-01-02 15:15   ` Tom Rini
2013-02-05 16:25   ` [U-Boot] [U-Boot,2/5] " Tom Rini
2012-12-31 16:32 ` [U-Boot] [PATCH 3/5] am335x_evm: enable support for booting via USB Ilya Yanok
2013-01-02 15:07   ` Tom Rini
2012-12-31 16:32 ` [U-Boot] [PATCH 4/5] spl: add possibility to force boot device Ilya Yanok
2013-02-05 16:29   ` [U-Boot] [U-Boot, " Tom Rini
2012-12-31 16:32 ` [U-Boot] [PATCH 5/5] am335x_evm: add new config with forced USB booting Ilya Yanok
2013-01-02 15:09   ` Tom Rini
2013-02-05 16:29   ` [U-Boot] [U-Boot, " Tom Rini
2013-01-22 22:59 ` Tom Rini [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1358895568-6320-1-git-send-email-trini@ti.com \
    --to=trini@ti.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox