[U-Boot-Users] Fix missing DECLARE_GLOBAL_DATA_PTR on CONFIG_LPC2292 in serial

Jean-Christophe PLAGNIOL-VILLARD plagnioj at jcrosoft.com
Thu Sep 27 23:27:47 CEST 2007


Hi,

Fix missing DECLARE_GLOBAL_DATA_PTR on CONFIG_LPC2292 in serial

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj at jcrosoft.com>
---

diff --git a/cpu/arm720t/serial.c b/cpu/arm720t/serial.c
index 27eb73a..1b0e147 100644
--- a/cpu/arm720t/serial.c
+++ b/cpu/arm720t/serial.c
@@ -125,6 +125,8 @@ serial_puts (const char *s)
 
 #elif defined(CONFIG_LPC2292)
 
+DECLARE_GLOBAL_DATA_PTR;
+
 #include <asm/arch/hardware.h>
 
 void serial_setbrg (void)


Best Regards

Jean-Christophe PLAGNIOL-VILLARD






More information about the U-Boot mailing list