seperate relocation debug from other boot debug
---
 boot/arch/arm/arm/elf_reloc.c   |    2 +-
 boot/arch/i386/i386/elf_reloc.c |    2 +-
 boot/include/boot.h             |    1 +
 3 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/boot/arch/arm/arm/elf_reloc.c b/boot/arch/arm/arm/elf_reloc.c
index aeaa74e..5feb50a 100755
--- a/boot/arch/arm/arm/elf_reloc.c
+++ b/boot/arch/arm/arm/elf_reloc.c
@@ -31,7 +31,7 @@
 #include <elf.h>
 #include <bootinfo.h>
 
-#ifdef DEBUG_BOOT_IMAGE
+#ifdef DEBUG_BOOT_IMAGE_RELOCATE
 #define elf_dbg(x,y...) printk(x, ##y)
 #else
 #define elf_dbg(x,y...)
diff --git a/boot/arch/i386/i386/elf_reloc.c b/boot/arch/i386/i386/elf_reloc.c
index 5331cee..bfc4dfc 100755
--- a/boot/arch/i386/i386/elf_reloc.c
+++ b/boot/arch/i386/i386/elf_reloc.c
@@ -31,7 +31,7 @@
 #include <elf.h>
 #include <bootinfo.h>
 
-#ifdef DEBUG_BOOT_IMAGE
+#ifdef DEBUG_BOOT_IMAGE_RELOCATE
 #define elf_dbg(x,y...) printk(x, ##y)
 #else
 #define elf_dbg(x,y...)
diff --git a/boot/include/boot.h b/boot/include/boot.h
index a7d52c8..dde65c0 100755
--- a/boot/include/boot.h
+++ b/boot/include/boot.h
@@ -38,6 +38,7 @@
 
 /* #define DEBUG_BOOT          1 */
 /* #define DEBUG_BOOT_IMAGE    1 */
+/* #define DEBUG_BOOT_IMAGE_RELOCATE 1 */
 
 #define PAGE_SIZE      CONFIG_PAGE_SIZE
 
-- 
1.5.0.3.GIT




-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Prex-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/prex-devel

Reply via email to