summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMateusz Zalega <m.zalega@samsung.com>2014-04-28 21:13:27 +0200
committerLukasz Majewski <l.majewski@samsung.com>2014-05-05 08:21:47 +0200
commitfad8edf0f72b8aba8885d2d137ebb58b3428806a (patch)
tree1524e89ae223d66740b964b366c2a1bcc93a68f9
parent41c2d60b3abad79f94a872d53ede016b1a891abc (diff)
downloadu-boot-imx-fad8edf0f72b8aba8885d2d137ebb58b3428806a.zip
u-boot-imx-fad8edf0f72b8aba8885d2d137ebb58b3428806a.tar.gz
u-boot-imx-fad8edf0f72b8aba8885d2d137ebb58b3428806a.tar.bz2
am335x: dfu: disable DFU in am335x_evm SPL build
Future patches will make DFU too large to fit in this board's SPL build. Signed-off-by: Mateusz Zalega <m.zalega@samsung.com> Acked-by: Tom Rini <trini@ti.com> Reviewed-by: Lukasz Majewski <l.majewski@samsung.com>
-rw-r--r--include/configs/am335x_evm.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/configs/am335x_evm.h b/include/configs/am335x_evm.h
index 4147f9f..670e3f1 100644
--- a/include/configs/am335x_evm.h
+++ b/include/configs/am335x_evm.h
@@ -312,6 +312,7 @@
#endif
/* USB Device Firmware Update support */
+#ifndef CONFIG_SPL_BUILD
#define CONFIG_DFU_FUNCTION
#define CONFIG_DFU_MMC
#define CONFIG_CMD_DFU
@@ -354,6 +355,7 @@
DFU_ALT_INFO_MMC \
DFU_ALT_INFO_RAM \
DFU_ALT_INFO_NAND
+#endif
/*
* Default to using SPI for environment, etc.