diff mbox

[U-Boot] imx6: fix warnings due to switch to distro environment

Message ID 1447408349-20272-1-git-send-email-sbabic@denx.de
State Accepted
Delegated to: Stefano Babic
Headers show

Commit Message

Stefano Babic Nov. 13, 2015, 9:52 a.m. UTC
wandboard and mx6cuboxi have warnings because BOOT_DELAY
is defined twice.

Signed-off-by: Stefano Babic <sbabic@denx.de>
CC: Vagrant Cascadian <vagrant@debian.org>
CC: Otavio Salvador <otavio@ossystems.com.br>
CC: Fabio Estevam <fabio.estevam@freescale.com>
---
 include/configs/mx6cuboxi.h | 2 +-
 include/configs/wandboard.h | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

Comments

Vagrant Cascadian Nov. 14, 2015, 2:10 p.m. UTC | #1
On 2015-11-13, Stefano Babic wrote:
> wandboard and mx6cuboxi have warnings because BOOT_DELAY
> is defined twice.
>
> Signed-off-by: Stefano Babic <sbabic@denx.de>
> CC: Vagrant Cascadian <vagrant@debian.org>
> CC: Otavio Salvador <otavio@ossystems.com.br>
> CC: Fabio Estevam <fabio.estevam@freescale.com>
> ---
>  include/configs/mx6cuboxi.h | 2 +-
>  include/configs/wandboard.h | 2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)

Tested-By: Vagrant Cascadian <vagrant@debian.org>

live well,
  vagrant

> diff --git a/include/configs/mx6cuboxi.h b/include/configs/mx6cuboxi.h
> index 0f3b992..4feb121 100644
> --- a/include/configs/mx6cuboxi.h
> +++ b/include/configs/mx6cuboxi.h
> @@ -8,6 +8,7 @@
>  #ifndef __MX6CUBOXI_CONFIG_H
>  #define __MX6CUBOXI_CONFIG_H
>  
> +#include <config_distro_defaults.h>
>  #include "mx6_common.h"
>  
>  #define CONFIG_SPL_LIBCOMMON_SUPPORT
> @@ -137,7 +138,6 @@
>  	func(PXE, pxe, na) \
>  	func(DHCP, dhcp, na)
>  
> -#include <config_distro_defaults.h>
>  #include <config_distro_bootcmd.h>
>  
>  #else
> diff --git a/include/configs/wandboard.h b/include/configs/wandboard.h
> index 6408b5e..4c8e9e9 100644
> --- a/include/configs/wandboard.h
> +++ b/include/configs/wandboard.h
> @@ -9,6 +9,7 @@
>  #ifndef __CONFIG_H
>  #define __CONFIG_H
>  
> +#include <config_distro_defaults.h>
>  #include "mx6_common.h"
>  
>  #define CONFIG_SPL_LIBCOMMON_SUPPORT
> @@ -166,7 +167,6 @@
>  	   "run findfdt; " \
>  	   "run distro_bootcmd"
>  
> -#include <config_distro_defaults.h>
>  #include <config_distro_bootcmd.h>
>  
>  /* Physical Memory Map */
> -- 
> 1.9.1
diff mbox

Patch

diff --git a/include/configs/mx6cuboxi.h b/include/configs/mx6cuboxi.h
index 0f3b992..4feb121 100644
--- a/include/configs/mx6cuboxi.h
+++ b/include/configs/mx6cuboxi.h
@@ -8,6 +8,7 @@ 
 #ifndef __MX6CUBOXI_CONFIG_H
 #define __MX6CUBOXI_CONFIG_H
 
+#include <config_distro_defaults.h>
 #include "mx6_common.h"
 
 #define CONFIG_SPL_LIBCOMMON_SUPPORT
@@ -137,7 +138,6 @@ 
 	func(PXE, pxe, na) \
 	func(DHCP, dhcp, na)
 
-#include <config_distro_defaults.h>
 #include <config_distro_bootcmd.h>
 
 #else
diff --git a/include/configs/wandboard.h b/include/configs/wandboard.h
index 6408b5e..4c8e9e9 100644
--- a/include/configs/wandboard.h
+++ b/include/configs/wandboard.h
@@ -9,6 +9,7 @@ 
 #ifndef __CONFIG_H
 #define __CONFIG_H
 
+#include <config_distro_defaults.h>
 #include "mx6_common.h"
 
 #define CONFIG_SPL_LIBCOMMON_SUPPORT
@@ -166,7 +167,6 @@ 
 	   "run findfdt; " \
 	   "run distro_bootcmd"
 
-#include <config_distro_defaults.h>
 #include <config_distro_bootcmd.h>
 
 /* Physical Memory Map */