[U-Boot] [PATCH v2 1/6] pci: Allow debug message output in pci_auto.c

Bin Meng bmeng.cn at gmail.com
Sat May 16 03:33:14 CEST 2015


Remove the '#undef DEBUG' in pci_auto.c so that we can enable debug
message output via '-DDEBUG'.

Signed-off-by: Bin Meng <bmeng.cn at gmail.com>

---

Changes in v2:
- Commit meessage minor update

 drivers/pci/pci_auto.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/pci/pci_auto.c b/drivers/pci/pci_auto.c
index e8da977..43965d8 100644
--- a/drivers/pci/pci_auto.c
+++ b/drivers/pci/pci_auto.c
@@ -14,7 +14,6 @@
 #include <errno.h>
 #include <pci.h>
 
-#undef DEBUG
 #ifdef DEBUG
 #define DEBUGF(x...) printf(x)
 #else
-- 
1.8.2.1



More information about the U-Boot mailing list