Skip to contentSkip to conversation

ARM: rmobile: Zap #undef DEBUG

PATCH New Marek Vasut 1 participant 1 message May 2, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: rmobile: Zap #undef DEBUG

The DEBUG macro is never defined unless explicitly enabled. Drop useless #undef DEBUG in the board configs so it won't spread any further.

Cc Nobuhiro Iwamatsu <[email protected]>
---
 include/configs/alt.h              | 2 --
 include/configs/armadillo-800eva.h | 1 -
 include/configs/blanche.h          | 2 --
 include/configs/draak.h            | 2 --
 include/configs/eagle.h            | 2 --
 include/configs/gose.h             | 2 --
 include/configs/koelsch.h          | 2 --
 include/configs/kzm9g.h            | 2 --
 include/configs/lager.h            | 2 --
 include/configs/porter.h           | 2 --
 include/configs/salvator-x.h       | 2 --
 include/configs/silk.h             | 2 --
 include/configs/stout.h            | 2 --
 include/configs/ulcb.h             | 2 --
 14 files changed, 27 deletions(-)
include/configs/alt.h +0 -2
index 51799bf423..ba0b2fd671 100644
@@ -10,8 +10,6 @@
 #ifndef __ALT_H
 #define __ALT_H
 
-#undef DEBUG
-
 #include "rcar-gen2-common.h"
 
 #define CONFIG_SYS_INIT_SP_ADDR		0x4f000000
include/configs/armadillo-800eva.h +0 -1
index 826211a527..b49407a8b2 100644
@@ -9,7 +9,6 @@
 #ifndef __ARMADILLO_800EVA_H
 #define __ARMADILLO_800EVA_H
 
-#undef DEBUG
 #define CONFIG_SH_GPIO_PFC
 
 #include <asm/arch/rmobile.h>
include/configs/blanche.h +0 -2
index e4e61ec2a3..a978f728c9 100644
@@ -10,8 +10,6 @@
 #ifndef __BLANCHE_H
 #define __BLANCHE_H
 
-#undef DEBUG
-
 #include "rcar-gen2-common.h"
 
 /* STACK */
include/configs/draak.h +0 -2
index fef5e2e011..a5c2210cc9 100644
@@ -10,8 +10,6 @@
 #ifndef __DRAAK_H
 #define __DRAAK_H
 
-#undef DEBUG
-
 #include "rcar-gen3-common.h"
 
 /* Ethernet RAVB */
include/configs/eagle.h +0 -2
index d2d46f0425..b570ef9115 100644
@@ -10,8 +10,6 @@
 #ifndef __EAGLE_H
 #define __EAGLE_H
 
-#undef DEBUG
-
 #include "rcar-gen3-common.h"
 
 /* Ethernet RAVB */
include/configs/gose.h +0 -2
index 5b3dce87e2..3c5c00ae6b 100644
@@ -9,8 +9,6 @@
 #ifndef __GOSE_H
 #define __GOSE_H
 
-#undef DEBUG
-
 #include "rcar-gen2-common.h"
 
 #define CONFIG_SYS_INIT_SP_ADDR		0x4f000000
include/configs/koelsch.h +0 -2
index 2571aec550..41cab6d0ef 100644
@@ -9,8 +9,6 @@
 #ifndef __KOELSCH_H
 #define __KOELSCH_H
 
-#undef DEBUG
-
 #include "rcar-gen2-common.h"
 
 #define CONFIG_SYS_INIT_SP_ADDR		0x4f000000
include/configs/kzm9g.h +0 -2
index 4781da71af..dc05db1baf 100644
@@ -8,8 +8,6 @@
 #ifndef __KZM9G_H
 #define __KZM9G_H
 
-#undef DEBUG
-
 #define CONFIG_SH73A0
 #define CONFIG_MACH_TYPE MACH_TYPE_KZM9G
 
include/configs/lager.h +0 -2
index 4d45d50ac4..d5d76c2404 100644
@@ -10,8 +10,6 @@
 #ifndef __LAGER_H
 #define __LAGER_H
 
-#undef DEBUG
-
 #include "rcar-gen2-common.h"
 
 #define CONFIG_SYS_INIT_SP_ADDR		0x4f000000
include/configs/porter.h +0 -2
index b4aeb54ef0..491adcdde1 100644
@@ -11,8 +11,6 @@
 #ifndef __PORTER_H
 #define __PORTER_H
 
-#undef DEBUG
-
 #include "rcar-gen2-common.h"
 
 #define CONFIG_SYS_INIT_SP_ADDR		0x4f000000
include/configs/salvator-x.h +0 -2
index 33624e6c4e..89e1b20c29 100644
@@ -10,8 +10,6 @@
 #ifndef __SALVATOR_X_H
 #define __SALVATOR_X_H
 
-#undef DEBUG
-
 #include "rcar-gen3-common.h"
 
 /* Ethernet RAVB */
include/configs/silk.h +0 -2
index afc7faf66c..8eac7b8c9b 100644
@@ -11,8 +11,6 @@
 #ifndef __SILK_H
 #define __SILK_H
 
-#undef DEBUG
-
 #include "rcar-gen2-common.h"
 
 #define CONFIG_SYS_INIT_SP_ADDR		0x4f000000
include/configs/stout.h +0 -2
index 1a1a3eb883..ceed06f13e 100644
@@ -12,8 +12,6 @@
 #ifndef __STOUT_H
 #define __STOUT_H
 
-#undef DEBUG
-
 #include "rcar-gen2-common.h"
 
 #define CONFIG_SYS_INIT_SP_ADDR		0x4f000000
include/configs/ulcb.h +0 -2
index dfd6436b3c..4d76fd69e5 100644
@@ -10,8 +10,6 @@
 #ifndef __ULCB_H
 #define __ULCB_H
 
-#undef DEBUG
-
 #include "rcar-gen3-common.h"
 
 /* Ethernet RAVB */
Signature · 1 line
2.16.2