summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Rini <trini@ti.com>2013-02-26 15:43:22 -0500
committerTom Rini <trini@ti.com>2013-03-08 16:41:12 -0500
commit98bc1228c800005e7addf95632e23079a236e5f5 (patch)
tree923307b0685f778e174b03d22792aa3a087f05ea
parenta32f42f65d30fc2ac15fb14e00779db5bc780153 (diff)
downloadu-boot-imx-98bc1228c800005e7addf95632e23079a236e5f5.zip
u-boot-imx-98bc1228c800005e7addf95632e23079a236e5f5.tar.gz
u-boot-imx-98bc1228c800005e7addf95632e23079a236e5f5.tar.bz2
am335x_evm: Add am335x_evm_usbspl build target
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 <trini@ti.com>
-rw-r--r--board/ti/am335x/board.c2
-rw-r--r--boards.cfg1
-rw-r--r--include/configs/am335x_evm.h4
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 7a0b79d..c117368 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..35a71ca 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 CPSW SPL support so we fit within the 101KiB limit.
*/
#undef CONFIG_SPL_ETH_SUPPORT
-#undef CONFIG_SPL_YMODEM_SUPPORT
#endif
/*