From 9079acba9f3cbcbe10df66f7162e7ae47723e70d Mon Sep 17 00:00:00 2001 From: Vladimir Zapolskiy Date: Mon, 28 Nov 2016 00:15:29 +0200 Subject: sh: remove undefined DEBUG preprocessor token from board config files By default this undef is a noop, moreover at this point when the platform support is broken is prevents debugging of U-boot by manual insertion of #define DEBUG into common files, so it makes sense to remove the option from all SH boards as a harmful one. Signed-off-by: Vladimir Zapolskiy Reviewed-by: Simon Glass --- include/configs/MigoR.h | 1 - include/configs/ap325rxa.h | 1 - include/configs/ap_sh4a_4a.h | 1 - include/configs/ecovec.h | 1 - include/configs/r0p7734.h | 1 - include/configs/r2dplus.h | 2 -- include/configs/r7780mp.h | 1 - include/configs/rsk7203.h | 1 - include/configs/rsk7264.h | 1 - include/configs/rsk7269.h | 1 - include/configs/sh7752evb.h | 1 - include/configs/sh7753evb.h | 1 - include/configs/sh7757lcr.h | 1 - include/configs/sh7785lcr.h | 1 - 14 files changed, 15 deletions(-) diff --git a/include/configs/MigoR.h b/include/configs/MigoR.h index bb127852ad1..e1338cdf413 100644 --- a/include/configs/MigoR.h +++ b/include/configs/MigoR.h @@ -9,7 +9,6 @@ #ifndef __MIGO_R_H #define __MIGO_R_H -#undef DEBUG #define CONFIG_CPU_SH7722 1 #define CONFIG_MIGO_R 1 diff --git a/include/configs/ap325rxa.h b/include/configs/ap325rxa.h index 9a4d2c9923c..6e39868fb51 100644 --- a/include/configs/ap325rxa.h +++ b/include/configs/ap325rxa.h @@ -10,7 +10,6 @@ #ifndef __AP325RXA_H #define __AP325RXA_H -#undef DEBUG #define CONFIG_CPU_SH7723 1 #define CONFIG_AP325RXA 1 diff --git a/include/configs/ap_sh4a_4a.h b/include/configs/ap_sh4a_4a.h index 93205aa74b5..d2d9770b05f 100644 --- a/include/configs/ap_sh4a_4a.h +++ b/include/configs/ap_sh4a_4a.h @@ -9,7 +9,6 @@ #ifndef __AP_SH4A_4A_H #define __AP_SH4A_4A_H -#undef DEBUG #define CONFIG_CPU_SH7734 1 #define CONFIG_AP_SH4A_4A 1 #define CONFIG_400MHZ_MODE 1 diff --git a/include/configs/ecovec.h b/include/configs/ecovec.h index e1e3c78366b..19514b68ac5 100644 --- a/include/configs/ecovec.h +++ b/include/configs/ecovec.h @@ -22,7 +22,6 @@ * 0x1800_0000 MFI 16bit */ -#undef DEBUG #define CONFIG_CPU_SH7724 1 #define CONFIG_BOARD_LATE_INIT 1 #define CONFIG_ECOVEC 1 diff --git a/include/configs/r0p7734.h b/include/configs/r0p7734.h index 05520036832..2ae9e028104 100644 --- a/include/configs/r0p7734.h +++ b/include/configs/r0p7734.h @@ -9,7 +9,6 @@ #ifndef __R0P7734_H #define __R0P7734_H -#undef DEBUG #define CONFIG_CPU_SH7734 1 #define CONFIG_R0P7734 1 #define CONFIG_400MHZ_MODE 1 diff --git a/include/configs/r2dplus.h b/include/configs/r2dplus.h index 21bfe724ae7..a0e0c1cbff9 100644 --- a/include/configs/r2dplus.h +++ b/include/configs/r2dplus.h @@ -1,8 +1,6 @@ #ifndef __CONFIG_H #define __CONFIG_H -#undef DEBUG - #define CONFIG_CPU_SH7751 1 #define CONFIG_CPU_SH_TYPE_R 1 #define CONFIG_R2DPLUS 1 diff --git a/include/configs/r7780mp.h b/include/configs/r7780mp.h index 42d51354f57..9812bc83393 100644 --- a/include/configs/r7780mp.h +++ b/include/configs/r7780mp.h @@ -10,7 +10,6 @@ #ifndef __R7780RP_H #define __R7780RP_H -#undef DEBUG #define CONFIG_CPU_SH7780 1 #define CONFIG_R7780MP 1 #define CONFIG_SYS_R7780MP_OLD_FLASH 1 diff --git a/include/configs/rsk7203.h b/include/configs/rsk7203.h index 9db73d3249d..2eb9d31e654 100644 --- a/include/configs/rsk7203.h +++ b/include/configs/rsk7203.h @@ -10,7 +10,6 @@ #ifndef __RSK7203_H #define __RSK7203_H -#undef DEBUG #define CONFIG_CPU_SH7203 1 #define CONFIG_RSK7203 1 diff --git a/include/configs/rsk7264.h b/include/configs/rsk7264.h index 3f9fb7bc028..55dd2c4f3e4 100644 --- a/include/configs/rsk7264.h +++ b/include/configs/rsk7264.h @@ -11,7 +11,6 @@ #ifndef __RSK7264_H #define __RSK7264_H -#undef DEBUG #define CONFIG_CPU_SH7264 1 #define CONFIG_RSK7264 1 diff --git a/include/configs/rsk7269.h b/include/configs/rsk7269.h index b7f361be254..ec7a99b0040 100644 --- a/include/configs/rsk7269.h +++ b/include/configs/rsk7269.h @@ -10,7 +10,6 @@ #ifndef __RSK7269_H #define __RSK7269_H -#undef DEBUG #define CONFIG_CPU_SH7269 1 #define CONFIG_RSK7269 1 diff --git a/include/configs/sh7752evb.h b/include/configs/sh7752evb.h index 23c83004830..4f99856dbc6 100644 --- a/include/configs/sh7752evb.h +++ b/include/configs/sh7752evb.h @@ -9,7 +9,6 @@ #ifndef __SH7752EVB_H #define __SH7752EVB_H -#undef DEBUG #define CONFIG_CPU_SH7752 1 #define CONFIG_SH7752EVB 1 diff --git a/include/configs/sh7753evb.h b/include/configs/sh7753evb.h index 9c601b5a7d0..e2ef2d59af2 100644 --- a/include/configs/sh7753evb.h +++ b/include/configs/sh7753evb.h @@ -9,7 +9,6 @@ #ifndef __SH7753EVB_H #define __SH7753EVB_H -#undef DEBUG #define CONFIG_CPU_SH7753 1 #define CONFIG_SH7753EVB 1 diff --git a/include/configs/sh7757lcr.h b/include/configs/sh7757lcr.h index 8345e539d15..a5a9396293e 100644 --- a/include/configs/sh7757lcr.h +++ b/include/configs/sh7757lcr.h @@ -9,7 +9,6 @@ #ifndef __SH7757LCR_H #define __SH7757LCR_H -#undef DEBUG #define CONFIG_CPU_SH7757 1 #define CONFIG_SH7757LCR 1 #define CONFIG_SH7757LCR_DDR_ECC 1 diff --git a/include/configs/sh7785lcr.h b/include/configs/sh7785lcr.h index a49e839463b..926efbe6d71 100644 --- a/include/configs/sh7785lcr.h +++ b/include/configs/sh7785lcr.h @@ -9,7 +9,6 @@ #ifndef __SH7785LCR_H #define __SH7785LCR_H -#undef DEBUG #define CONFIG_CPU_SH7785 1 #define CONFIG_SH7785LCR 1 -- cgit v1.2.3