]> git.karo-electronics.de Git - linux-beck.git/commitdiff
ARM: highbank: move debug macros to include/debug
authorRob Herring <rob.herring@calxeda.com>
Fri, 31 Aug 2012 05:04:22 +0000 (00:04 -0500)
committerRob Herring <rob.herring@calxeda.com>
Fri, 14 Sep 2012 14:22:01 +0000 (09:22 -0500)
Move highbank debug-macro.S over to common debug macro directory.

Also, remove v7 specific movw/movt instructions so this can compile under
v6 mode.

Signed-off-by: Rob Herring <rob.herring@calxeda.com>
arch/arm/Kconfig.debug
arch/arm/include/debug/highbank.S [moved from arch/arm/mach-highbank/include/mach/debug-macro.S with 83% similarity]

index 4f9760bd234e2a2e3c19fd15e98718137fd1b52a..d9d8effe67f5c313fae66689e687e2a25b0a179b 100644 (file)
@@ -376,6 +376,7 @@ endchoice
 config DEBUG_LL_INCLUDE
        string
        default "debug/icedcc.S" if DEBUG_ICEDCC
+       default "debug/highbank.S" if DEBUG_HIGHBANK_UART
        default "mach/debug-macro.S"
 
 config EARLY_PRINTK
similarity index 83%
rename from arch/arm/mach-highbank/include/mach/debug-macro.S
rename to arch/arm/include/debug/highbank.S
index cb57fe5bcd04118a4df466000ef132eadd2bd1f2..8cad4322a5a23d660a9465efafc31911d033b9f6 100644 (file)
  */
 
                .macro  addruart,rp,rv,tmp
-               movw    \rv, #0x6000
-               movt    \rv, #0xfee3
-               movw    \rp, #0x6000
-               movt    \rp, #0xfff3
+               ldr     \rv, =0xfee36000
+               ldr     \rp, =0xfff36000
                .endm
 
 #include <asm/hardware/debug-pl01x.S>