Remove #undef DEBUGx and #define DEBUG from all board header files
PATCH v2 1/1 Remove #undef DEBUGx and #define DEBUG from all board header files
Remove the "#undef DEBUG" and other DEBUG_xxx lines from all board header files. Also remove the "#define DEBUG" and other DEBUG_xxx lines from all board header files. The inclusion of these line makes it impossible to control debug on a per-file basis.
Signed-off-by Timur Tabi <[email protected]>
---
Removed all the "#define DEBUG" statements as well.
include/configs/AP1000.h | 2 -- include/configs/BAB7xx.h | 1 - include/configs/EB+MCF-EV123.h | 1 - include/configs/ELPPC.h | 1 - include/configs/IP860.h | 1 - include/configs/IPHASE4539.h | 2 -- include/configs/M5235EVB.h | 2 -- include/configs/M5271EVB.h | 2 -- include/configs/M5329EVB.h | 2 -- include/configs/M54455EVB.h | 2 -- 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 -- include/configs/MPC8540EVAL.h | 2 -- include/configs/MVBLUE.h | 2 -- include/configs/QS823.h | 4 ---- include/configs/QS850.h | 4 ---- include/configs/QS860T.h | 4 ---- include/configs/Rattler.h | 2 -- include/configs/ads5121.h | 3 --- include/configs/assabet.h | 2 -- include/configs/csb226.h | 2 -- include/configs/ep8248.h | 2 -- include/configs/ep82xxm.h | 2 -- include/configs/gcplus.h | 2 -- include/configs/gw8260.h | 4 ---- include/configs/integratorap.h | 1 - include/configs/mgcoge.h | 2 -- include/configs/mpc7448hpc2.h | 2 -- include/configs/ms7722se.h | 1 - include/configs/ms7750se.h | 1 - include/configs/ppmc7xx.h | 1 - include/configs/pxa255_idp.h | 7 ------- include/configs/sacsng.h | 4 ---- include/configs/sbc8260.h | 4 ---- include/configs/sbc8349.h | 2 -- include/configs/utx8245.h | 1 - 40 files changed, 0 insertions(+), 89 deletions(-)
include/configs/AP1000.h +0 -2
@@ -22,8 +22,6 @@* (easy to change) */ -#undef DEBUG -#define CONFIG_405 1/* This is a PPC405 CPU */ #define CONFIG_4xx 1/* ...member of PPC4xx family */
include/configs/BAB7xx.h +0 -1
@@ -28,7 +28,6 @@#ifndef __CONFIG_H#define __CONFIG_H -#undef DEBUG#define GTREGREAD (x) 0xffffffff/* needed for debug */ /*
include/configs/EB+MCF-EV123.h +0 -1
@@ -27,7 +27,6 @@#define CONFIG_EB_MCF_EV123 -#undef DEBUG#undef CFG_HALT_BEFOR_RAM_JUMP#undef ET_DEBUG
include/configs/ELPPC.h +0 -1
@@ -28,7 +28,6 @@#ifndef __CONFIG_H#define __CONFIG_H -#undef DEBUG#define GTREGREAD (x) 0xffffffff/* needed for debug */ /*
include/configs/IP860.h +0 -1
@@ -189,7 +189,6 @@#undef CFG_ENV_IS_IN_FLASH#undef CFG_ENV_IS_IN_NVRAM#undef CFG_ENV_IS_IN_NVRAM -#undef DEBUG_I2C#define CFG_ENV_IS_IN_EEPROM #ifdef CFG_ENV_IS_IN_NVRAM
include/configs/IPHASE4539.h +0 -2
@@ -30,8 +30,6 @@#ifndef __CONFIG_H#define __CONFIG_H -#undef DEBUG/* General debug */ -/*----------------------------------------------------------------------- * High Level Configuration Options * (easy to change)
include/configs/M5235EVB.h +0 -2
@@ -37,8 +37,6 @@#define CONFIG_MCF523x/* define processor family */ #define CONFIG_M5235 /* define processor type */ -#undef DEBUG -#define CONFIG_MCFUART #define CFG_UART_PORT (0)#define CONFIG_BAUDRATE 115200
include/configs/M5271EVB.h +0 -2
@@ -31,8 +31,6 @@#ifndef _M5271EVB_H#define _M5271EVB_H -#undef DEBUG -/* * High Level Configuration Options (easy to change) */
include/configs/M5329EVB.h +0 -2
@@ -37,8 +37,6 @@#define CONFIG_MCF532x/* define processor family */ #define CONFIG_M5329 /* define processor type */ -#undef DEBUG -#define CONFIG_MCFUART #define CFG_UART_PORT (0)#define CONFIG_BAUDRATE 115200
include/configs/M54455EVB.h +0 -2
@@ -38,8 +38,6 @@#define CONFIG_M54455 /* define processor type */ #define CONFIG_M54455EVB /* M54455EVB board */ -#undef DEBUG -#define CONFIG_MCFUART #define CFG_UART_PORT (0)#define CONFIG_BAUDRATE 115200
include/configs/MPC8323ERDB.h +0 -2
@@ -9,8 +9,6 @@#ifndef __CONFIG_H#define __CONFIG_H -#undef DEBUG -/* * High Level Configuration Options */
include/configs/MPC832XEMDS.h +0 -2
@@ -20,8 +20,6 @@#ifndef __CONFIG_H#define __CONFIG_H -#undef DEBUG -/* * High Level Configuration Options */
include/configs/MPC8349EMDS.h +0 -2
@@ -29,8 +29,6 @@#ifndef __CONFIG_H#define __CONFIG_H -#undef DEBUG -/* * High Level Configuration Options */
include/configs/MPC8360EMDS.h +0 -2
@@ -22,8 +22,6 @@#ifndef __CONFIG_H#define __CONFIG_H -#undef DEBUG -/* * High Level Configuration Options */
include/configs/MPC8360ERDK.h +0 -2
@@ -17,8 +17,6 @@#ifndef __CONFIG_H#define __CONFIG_H -#undef DEBUG -/* * High Level Configuration Options */
include/configs/MPC837XEMDS.h +0 -2
@@ -21,8 +21,6 @@#ifndef __CONFIG_H#define __CONFIG_H -#undef DEBUG -/* * High Level Configuration Options */
include/configs/MPC8540EVAL.h +0 -2
@@ -238,8 +238,6 @@#define INTEL_LXT971_PHY 1#endif -#undef DEBUG -/* Environment */ #ifndef CFG_RAMBOOT #if defined(CONFIG_RAM_AS_FLASH )
include/configs/MVBLUE.h +0 -2
@@ -53,8 +53,6 @@#define ERR_LED (code)#endif -#undef DEBUG -#define CONFIG_MPC824X 1#define CONFIG_MPC8245 1#define CONFIG_MVBLUE 1
include/configs/QS823.h +0 -4
@@ -38,10 +38,6 @@#undef CFG_DEVICE_NULLDEV/* null device */ #undef CONFIG_SILENT_CONSOLE/* silent console */ #undef CFG_CONSOLE_INFO_QUIET/* silent console ? */ -#undef DEBUG/* debug output code */ -#undef DEBUG_FLASH/* debug flash code */ -#undef FLASH_DEBUG/* debug fash code */ -#undef DEBUG_ENV/* debug environment code */ #define CFG_DIRECT_FLASH_TFTP 1/* allow direct tftp to flash */ #define CONFIG_ENV_OVERWRITE 1/* allow overwrite MAC address */
include/configs/QS850.h +0 -4
@@ -38,10 +38,6 @@#undef CFG_DEVICE_NULLDEV/* null device */ #undef CONFIG_SILENT_CONSOLE/* silent console */ #undef CFG_CONSOLE_INFO_QUIET/* silent console ? */ -#undef DEBUG/* debug output code */ -#undef DEBUG_FLASH/* debug flash code */ -#undef FLASH_DEBUG/* debug fash code */ -#undef DEBUG_ENV/* debug environment code */ #define CFG_DIRECT_FLASH_TFTP 1/* allow direct tftp to flash */ #define CONFIG_ENV_OVERWRITE 1/* allow overwrite MAC address */
include/configs/QS860T.h +0 -4
@@ -38,10 +38,6 @@#undef CFG_DEVICE_NULLDEV/* null device */ #undef CONFIG_SILENT_CONSOLE/* silent console */ #undef CFG_CONSOLE_INFO_QUIET/* silent console ? */ -#undef DEBUG/* debug output code */ -#undef DEBUG_FLASH/* debug flash code */ -#undef FLASH_DEBUG/* debug fash code */ -#undef DEBUG_ENV/* debug environment code */ #define CFG_DIRECT_FLASH_TFTP 1/* allow direct tftp to flash */ #define CONFIG_ENV_OVERWRITE 1/* allow overwrite MAC address */
include/configs/Rattler.h +0 -2
@@ -37,8 +37,6 @@#define CONFIG_RATTLER /* Analogue&Micro Rattler board */ -#undef DEBUG -/* Allow serial number (serial#) and MAC address (ethaddr) to be overwritten */ #define CONFIG_ENV_OVERWRITE
include/configs/ads5121.h +0 -3
@@ -27,9 +27,6 @@#ifndef __CONFIG_H#define __CONFIG_H -#define DEBUG -#undef DEBUG -/* * Memory map for the ADS5121 board: *
include/configs/assabet.h +0 -2
@@ -29,8 +29,6 @@#ifndef __CONFIG_H#define __CONFIG_H -#undef DEBUG -/* * High Level Configuration Options * (easy to change)
include/configs/csb226.h +0 -2
@@ -31,8 +31,6 @@#ifndef __CONFIG_H#define __CONFIG_H -#define DEBUG 1 -/* * High Level Configuration Options * (easy to change)
include/configs/ep8248.h +0 -2
@@ -31,8 +31,6 @@#define CONFIG_EP8248 /* Embedded Planet EP8248 board */ -#undef DEBUG -#define CONFIG_BOARD_EARLY_INIT_F 1/* Call board_early_init_f */ /* Allow serial number (serial#) and MAC address (ethaddr) to be overwritten */
include/configs/ep82xxm.h +0 -2
@@ -31,8 +31,6 @@#define CONFIG_EP82XXM /* Embedded Planet EP82xxM H 1.0 board */ /* 256MB SDRAM / 64MB FLASH */ -#undef DEBUG -#define CONFIG_BOARD_EARLY_INIT_F 1/* Call board_early_init_f */ /* Allow serial number (serial#) and MAC address (ethaddr) to be overwritten */
include/configs/gcplus.h +0 -2
@@ -29,8 +29,6 @@#ifndef __CONFIG_H#define __CONFIG_H -#undef DEBUG -/* * The ADS GCPlus Linux boot ROM loads U-Boot into RAM at 0xc0200000. * We don't actually init RAM in this case since we're using U-Boot as
include/configs/gw8260.h +0 -4
@@ -50,10 +50,6 @@#ifndef __CONFIG_H#define __CONFIG_H -/* Enable debug prints */ -#undef DEBUG/* General debug */ -#undef DEBUG_BOOTP_EXT/* Debug received vendor fields */ -/* What is the oscillator's (UX2) frequency in Hz? */ #define CONFIG_8260_CLKIN (66 * 1000 * 1000)
include/configs/integratorap.h +0 -1
@@ -146,7 +146,6 @@/*#define CONFIG_PCI /--* include pci support */ #undef CONFIG_PCI_PNP#define CONFIG_PCI_SCAN_SHOW 1/* show pci devices on startup */ -#define DEBUG #define CONFIG_EEPRO100 #define CFG_RX_ETH_BUFFER 8/* use 8 rx buffer on eepro100 */
include/configs/mgcoge.h +0 -2
@@ -35,8 +35,6 @@#define CONFIG_CPM2 1/* Has a CPM2 */ -#undef DEBUG -/* * Select serial console configuration *
include/configs/mpc7448hpc2.h +0 -2
@@ -33,8 +33,6 @@#ifndef __CONFIG_H#define __CONFIG_H -#undef DEBUG -/* Board Configuration Definitions */ /* MPC7448HPC2 (High-Performance Computing II) (Taiga) board */
include/configs/ms7722se.h +0 -1
@@ -25,7 +25,6 @@#ifndef __MS7722SE_H#define __MS7722SE_H -#undef DEBUG#define CONFIG_SH 1#define CONFIG_SH4 1#define CONFIG_CPU_SH7722 1
include/configs/ms7750se.h +0 -1
@@ -25,7 +25,6 @@#ifndef __MS7750SE_H#define __MS7750SE_H -#undef DEBUG#define CONFIG_SH 1#define CONFIG_SH4 1#define CONFIG_CPU_SH7750 1
include/configs/ppmc7xx.h +0 -1
@@ -30,7 +30,6 @@* do_bdinfo - Required to build with debug */ -#undef DEBUG#ifdef DEBUG #define GTREGREAD (x) 0xFFFFFFFF#define do_bdinfo (a,b,c,d)
include/configs/pxa255_idp.h +0 -7
@@ -45,13 +45,6 @@#undef CONFIG_SKIP_RELOCATE_UBOOT/* define for developing */ /* -* define the following to enable debug blinks. A debug blink function -* must be defined in memsetup.S -*/ -#undef DEBUG_BLINK_ENABLE -#undef DEBUG_BLINKC_ENABLE - -/* * High Level Configuration Options * (easy to change) */
include/configs/sacsng.h +0 -4
@@ -35,9 +35,6 @@#ifndef __CONFIG_H#define __CONFIG_H -#undef DEBUG/* General debug */ -#undef DEBUG_BOOTP_EXT/* Debug received vendor fields */ -#undef CONFIG_LOGBUFFER/* External logbuffer support */ /*****************************************************************************
@@ -257,7 +254,6 @@*/ #define CONFIG_SOFT_SPI /* Enable SPI driver */ #define MAX_SPI_BYTES 4/* Maximum number of bytes we can handle */ -#undef DEBUG_SPI/* Disable SPI debugging */ /* * Software (bit-bang) SPI driver configuration
include/configs/sbc8260.h +0 -4
@@ -35,10 +35,6 @@#ifndef __CONFIG_H#define __CONFIG_H -/* Enable debug prints */ -#undef DEBUG/* General debug */ -#undef DEBUG_BOOTP_EXT/* Debug received vendor fields */ -/***************************************************************************** * * These settings must match the way _your_ board is set up
include/configs/sbc8349.h +0 -2
@@ -31,8 +31,6 @@#ifndef __CONFIG_H#define __CONFIG_H -#undef DEBUG -/* * High Level Configuration Options */
include/configs/utx8245.h +0 -1
@@ -49,7 +49,6 @@#define CONFIG_MPC824X 1#define CONFIG_MPC8245 1#define CONFIG_UTX8245 1 -#define DEBUG 1#define CONFIG_IDENT_STRING " [UTX5] "
Signature · 1 line
1.5.2.4