[U-Boot-Users] [PATCH v2] Remove #undef DEBUG from MPC83xx boardheader files

Liu Dave DaveLiu at freescale.com
Wed Jan 16 02:57:22 CET 2008


Timur,

Could you also remove it in the MPC8315ERDB.h in 83xx tree?

Thanks,
Dave

> -----Original Message-----
> From: u-boot-users-bounces at lists.sourceforge.net 
> [mailto:u-boot-users-bounces at lists.sourceforge.net] On Behalf 
> Of Tabi Timur
> Sent: 2008?1?16? 7:10 AM
> To: Phillips Kim; u-boot-users at lists.sourceforge.net
> Cc: Tabi Timur
> Subject: [U-Boot-Users] [PATCH v2] Remove #undef DEBUG from 
> MPC83xx boardheader files
> 
> Remove the "#undef DEBUG" line from all Freescale 83xx board 
> header files.
> The inclusion of this line makes it impossible to enable debug code in
> other source files, because "#define DEBUG" typically needs 
> to be defined
> before any header files are included.
> 
> Signed-off-by: Timur Tabi <timur at freescale.com>
> ---
> 
> Added MPC8360ERDK.h.
> 
>  include/configs/MPC8323ERDB.h |    2 --
>  include/configs/MPC832XEMDS.h |    2 --
>  include/configs/MPC8349EMDS.h |    2 --
>  include/configs/MPC8360EMDS.h |    2 --
>  include/configs/MPC8360ERDK.h |    2 --
>  include/configs/MPC837XEMDS.h |    2 --
>  6 files changed, 0 insertions(+), 12 deletions(-)
> 
> diff --git a/include/configs/MPC8323ERDB.h 
> b/include/configs/MPC8323ERDB.h
> index 4ea8709..0e33fce 100644
> --- a/include/configs/MPC8323ERDB.h
> +++ b/include/configs/MPC8323ERDB.h
> @@ -9,8 +9,6 @@
>  #ifndef __CONFIG_H
>  #define __CONFIG_H
>  
> -#undef DEBUG
> -
>  /*
>   * High Level Configuration Options
>   */
> diff --git a/include/configs/MPC832XEMDS.h 
> b/include/configs/MPC832XEMDS.h
> index 25ac58c..8cf0a5b 100644
> --- a/include/configs/MPC832XEMDS.h
> +++ b/include/configs/MPC832XEMDS.h
> @@ -20,8 +20,6 @@
>  #ifndef __CONFIG_H
>  #define __CONFIG_H
>  
> -#undef DEBUG
> -
>  /*
>   * High Level Configuration Options
>   */
> diff --git a/include/configs/MPC8349EMDS.h 
> b/include/configs/MPC8349EMDS.h
> index 437a9a5..2c6534c 100644
> --- a/include/configs/MPC8349EMDS.h
> +++ b/include/configs/MPC8349EMDS.h
> @@ -29,8 +29,6 @@
>  #ifndef __CONFIG_H
>  #define __CONFIG_H
>  
> -#undef DEBUG
> -
>  /*
>   * High Level Configuration Options
>   */
> diff --git a/include/configs/MPC8360EMDS.h 
> b/include/configs/MPC8360EMDS.h
> index fdacb90..310d03f 100644
> --- a/include/configs/MPC8360EMDS.h
> +++ b/include/configs/MPC8360EMDS.h
> @@ -22,8 +22,6 @@
>  #ifndef __CONFIG_H
>  #define __CONFIG_H
>  
> -#undef DEBUG
> -
>  /*
>   * High Level Configuration Options
>   */
> diff --git a/include/configs/MPC8360ERDK.h 
> b/include/configs/MPC8360ERDK.h
> index 0f6f8f1..72d36c1 100644
> --- a/include/configs/MPC8360ERDK.h
> +++ b/include/configs/MPC8360ERDK.h
> @@ -17,8 +17,6 @@
>  #ifndef __CONFIG_H
>  #define __CONFIG_H
>  
> -#undef DEBUG
> -
>  /*
>   * High Level Configuration Options
>   */
> diff --git a/include/configs/MPC837XEMDS.h 
> b/include/configs/MPC837XEMDS.h
> index 2b84e9c..61de084 100644
> --- a/include/configs/MPC837XEMDS.h
> +++ b/include/configs/MPC837XEMDS.h
> @@ -21,8 +21,6 @@
>  #ifndef __CONFIG_H
>  #define __CONFIG_H
>  
> -#undef DEBUG
> -
>  /*
>   * High Level Configuration Options
>   */
> -- 
> 1.5.2.4
> 
> 
> --------------------------------------------------------------
> -----------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> U-Boot-Users mailing list
> U-Boot-Users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/u-boot-users
> 




More information about the U-Boot mailing list