diff options
| author | Arnd Bergmann <arnd@arndb.de> | 2016-03-02 17:30:17 -0500 |
|---|---|---|
| committer | Arnd Bergmann <arnd@arndb.de> | 2016-03-02 17:30:17 -0500 |
| commit | f3a186fbfd413f2453c511da2dbcdc594c87dbde (patch) | |
| tree | 7a35123458eb9904f8027c3bc15057e607707c2d /arch/arm/include/debug | |
| parent | e91fb3bd757569aca48785358a4adbf41334d382 (diff) | |
| parent | d2443b2e6167e80eca9a068d5ecc0e6f081b3ca4 (diff) | |
Merge tag 'imx-soc-4.6' of git://git.kernel.org/pub/scm/linux/kernel/git/shawnguo/linux into next/soc
Merge "i.MX SoC update for 4.6" from Shawn Guo:
- Enable big endian mode support for i.MX platform
- Add support for i.MX6QP SoC which is the latest i.MX6 family addition
- Add basic suspend/resume support for i.MX25
- A couple of i.MX7D support updates
- A few random code cleanups
* tag 'imx-soc-4.6' of git://git.kernel.org/pub/scm/linux/kernel/git/shawnguo/linux:
ARM: imx: Make reset_control_ops const
ARM: imx: Do L2 errata only if the L2 cache isn't enabled
ARM: imx: select ARM_CPU_SUSPEND only for imx6
ARM: mx25: Add basic suspend/resume support
ARM: imx: Add msl code support for imx6qp
ARM: imx: enable big endian mode
ARM: imx: use endian-safe readl/readw/writel/writew
ARM: imx7d: correct chip version information
ARM: imx: select HAVE_ARM_ARCH_TIMER if selected i.MX7D
ARM: imx6: fix cleanup path in imx6q_suspend_init()
Diffstat (limited to 'arch/arm/include/debug')
| -rw-r--r-- | arch/arm/include/debug/imx.S | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/include/debug/imx.S b/arch/arm/include/debug/imx.S index 619d8cc1ac12..92c44760d656 100644 --- a/arch/arm/include/debug/imx.S +++ b/arch/arm/include/debug/imx.S | |||
| @@ -11,6 +11,7 @@ | |||
| 11 | * | 11 | * |
| 12 | */ | 12 | */ |
| 13 | 13 | ||
| 14 | #include <asm/assembler.h> | ||
| 14 | #include "imx-uart.h" | 15 | #include "imx-uart.h" |
| 15 | 16 | ||
| 16 | /* | 17 | /* |
| @@ -34,6 +35,7 @@ | |||
| 34 | .endm | 35 | .endm |
| 35 | 36 | ||
| 36 | .macro senduart,rd,rx | 37 | .macro senduart,rd,rx |
| 38 | ARM_BE8(rev \rd, \rd) | ||
| 37 | str \rd, [\rx, #0x40] @ TXDATA | 39 | str \rd, [\rx, #0x40] @ TXDATA |
| 38 | .endm | 40 | .endm |
| 39 | 41 | ||
| @@ -42,6 +44,7 @@ | |||
| 42 | 44 | ||
| 43 | .macro busyuart,rd,rx | 45 | .macro busyuart,rd,rx |
| 44 | 1002: ldr \rd, [\rx, #0x98] @ SR2 | 46 | 1002: ldr \rd, [\rx, #0x98] @ SR2 |
| 47 | ARM_BE8(rev \rd, \rd) | ||
| 45 | tst \rd, #1 << 3 @ TXDC | 48 | tst \rd, #1 << 3 @ TXDC |
| 46 | beq 1002b @ wait until transmit done | 49 | beq 1002b @ wait until transmit done |
| 47 | .endm | 50 | .endm |
