]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
am335x: dfu: disable DFU in am335x_evm SPL build
authorMateusz Zalega <m.zalega@samsung.com>
Mon, 28 Apr 2014 19:13:27 +0000 (21:13 +0200)
committerLukasz Majewski <l.majewski@samsung.com>
Mon, 5 May 2014 06:21:47 +0000 (08:21 +0200)
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>
include/configs/am335x_evm.h

index 4147f9f369145c83270bda64f53e837295ade1f3..670e3f19e3754494aadecfdaf049456bcaa3f1ff 100644 (file)
 #endif
 
 /* USB Device Firmware Update support */
+#ifndef CONFIG_SPL_BUILD
 #define CONFIG_DFU_FUNCTION
 #define CONFIG_DFU_MMC
 #define CONFIG_CMD_DFU
        DFU_ALT_INFO_MMC \
        DFU_ALT_INFO_RAM \
        DFU_ALT_INFO_NAND
+#endif
 
 /*
  * Default to using SPI for environment, etc.