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

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@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

On 15 May 2015 at 19:33, Bin Meng bmeng.cn@gmail.com wrote:
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@gmail.com
Changes in v2:
- Commit meessage minor update
drivers/pci/pci_auto.c | 1 - 1 file changed, 1 deletion(-)
Acked-by: Simon Glass sjg@chromium.org

On 18 May 2015 at 15:39, Simon Glass sjg@chromium.org wrote:
On 15 May 2015 at 19:33, Bin Meng bmeng.cn@gmail.com wrote:
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@gmail.com
Changes in v2:
- Commit meessage minor update
drivers/pci/pci_auto.c | 1 - 1 file changed, 1 deletion(-)
Acked-by: Simon Glass sjg@chromium.org
Applied to u-boot-x86, thanks!
participants (2)
-
Bin Meng
-
Simon Glass