summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Rini <trini@ti.com>2013-02-26 10:50:20 +0000
committerTom Rini <trini@ti.com>2013-02-26 16:14:40 -0500
commit44e60614de5aa201f3f72d912003699c4a5342f4 (patch)
tree548451e7cd6c6528af49c51bd097b4195f253492
parent691f857c53785084e44e4a9e7c21f91418a2d03f (diff)
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--include/configs/am335x_evm.h4
2 files changed, 2 insertions, 4 deletions
diff --git a/board/ti/am335x/board.c b/board/ti/am335x/board.c
index 441758fdf0..f4b972b3e9 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/include/configs/am335x_evm.h b/include/configs/am335x_evm.h
index fc23eed82b..08d8a9301c 100644
--- a/include/configs/am335x_evm.h
+++ b/include/configs/am335x_evm.h
@@ -385,11 +385,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
/* Unsupported features */