Skip to contentSkip to conversation

mx2/mx3: debug-macro.S needs deprecated symbols

PATCH New Uwe Kleine-König 2 participants 2 messages Jan 25, 2010 – Jan 26, 2010

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 mx2/mx3: debug-macro.S needs deprecated symbols

This fixes:

arch/arm/kernel/debug.S:147: Error: constant expression expected -- ldrne r3,=(((UART1_BASE_ADDR)-AIPI_BASE_ADDR)+AIPI_BASE_ADDR_VIRT)' arch/arm/kernel/debug.S:163: Error: constant expression expected -- ldrne r3,=(((UART1_BASE_ADDR)-AIPI_BASE_ADDR)+AIPI_BASE_ADDR_VIRT)'

when compiling for mx2 with CONFIG_DEBUG_LL=y. A similar error exists on mx3 and is fixed by this commit, too.

These were introduced by aae7019382896cf1075a93acc564e42601bc44a2.

---
Hello,

the offending commit is currently in mxc-master but not yet in rmk's tree.

Best regards
Uwe

 arch/arm/plat-mxc/include/mach/debug-macro.S |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
arch/arm/plat-mxc/include/mach/debug-macro.S +1 -0
index 15b2b14..21e0f07 100644
@@ -10,6 +10,7 @@
  * published by the Free Software Foundation.
  *
  */
+#define IMX_NEEDS_DEPRECATED_SYMBOLS
 
 #ifdef CONFIG_ARCH_MX1
 #include <mach/mx1.h>
Signature · 1 line
1.6.6
maintainer
#1 lore raw

PATCH 1/1 mx2/mx3: debug-macro.S needs deprecated symbols

Quoted 7 lines · Uwe Kleine-K?nig

This fixes:

arch/arm/kernel/debug.S:147: Error: constant expression expected -- ldrne r3,=(((UART1_BASE_ADDR)-AIPI_BASE_ADDR)+AIPI_BASE_ADDR_VIRT)' arch/arm/kernel/debug.S:163: Error: constant expression expected -- ldrne r3,=(((UART1_BASE_ADDR)-AIPI_BASE_ADDR)+AIPI_BASE_ADDR_VIRT)'

when compiling for mx2 with CONFIG_DEBUG_LL=y. A similar error exists on mx3 and is fixed by this commit, too.

Ok, added to mxc-master.

Sascha

Quoted 32 lines

These were introduced by aae7019382896cf1075a93acc564e42601bc44a2.

---
Hello,

the offending commit is currently in mxc-master but not yet in rmk's tree.

Best regards
Uwe

 arch/arm/plat-mxc/include/mach/debug-macro.S |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
arch/arm/plat-mxc/include/mach/debug-macro.S +1 -0
index 15b2b14..21e0f07 100644
@@ -10,6 +10,7 @@
  * published by the Free Software Foundation.
  *
  */
+#define IMX_NEEDS_DEPRECATED_SYMBOLS
 
 #ifdef CONFIG_ARCH_MX1
 #include <mach/mx1.h>
Signature · 1 line
1.6.6
Signature · 4 lines
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |