diff mbox

[U-Boot,v4,08/13] am335x: dfu: disable DFU in am335x_evm SPL build

Message ID 1397567221-2065-9-git-send-email-m.zalega@samsung.com
State Superseded
Delegated to: Tom Rini
Headers show

Commit Message

Mateusz Zalega April 15, 2014, 1:06 p.m. UTC
Future patches will make DFU too large to fit in this board's SPL build.

Signed-off-by: Mateusz Zalega <m.zalega@samsung.com>
Cc: Tom Rini <trini@ti.com>
Cc: Lukasz Majewski <l.majewski@samsung.com>
Cc: Minkyu Kang <mk7.kang@samsung.com>
---
 include/configs/am335x_evm.h | 2 ++
 1 file changed, 2 insertions(+)

Comments

Ɓukasz Majewski April 15, 2014, 2:25 p.m. UTC | #1
Hi Mateusz,

> Future patches will make DFU too large to fit in this board's SPL
> build.
> 
> Signed-off-by: Mateusz Zalega <m.zalega@samsung.com>
> Cc: Tom Rini <trini@ti.com>
> Cc: Lukasz Majewski <l.majewski@samsung.com>
> Cc: Minkyu Kang <mk7.kang@samsung.com>
> ---
>  include/configs/am335x_evm.h | 2 ++
>  1 file changed, 2 insertions(+)
> 
> 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.

Reviewed-by: Lukasz Majewski <l.majewski@samsung.com>
diff mbox

Patch

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.