[U-Boot] [PATCH] env_nand: Remove DEBUG definition

Wolfgang Denk wd at denx.de
Mon Dec 5 23:03:08 CET 2011


Dear Thomas Weber,

In message <1320912600-3170-1-git-send-email-weber at corscience.de> you wrote:
> When compiling with -DDEBUG enabled this caused a
> warning about multiple definition of DEBUG.
> 
> Signed-off-by: Thomas Weber <weber at corscience.de>
> ---
>  common/env_nand.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/common/env_nand.c b/common/env_nand.c
> index 14446a6..e71a229 100644
> --- a/common/env_nand.c
> +++ b/common/env_nand.c
> @@ -30,7 +30,7 @@
>   * MA 02111-1307 USA
>   */
>  
> -#define DEBUG
> +/* #define DEBUG */

No - please simply delete this.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
You can observe a lot just by watchin'.                  - Yogi Berra


More information about the U-Boot mailing list