1. 14 Feb, 2016 1 commit
  2. 02 Feb, 2016 2 commits
    • Johannes Berg's avatar
      ARM: imx: enable big endian mode · 26e30c64
      Johannes Berg authored
      Enable ARM big-endian mode on mach-imx. This requires adding some
      byte swapping in the debug functions (which otherwise hang forever)
      and of course the secondary core bringup.
      
      Tested (on top of 4.4) on i.MX6 HummingBoard quad-core (IMX6Q).
      
      The patch is pretty much as suggested by Arnd Bergmann, thanks!
      Signed-off-by: default avatarJohannes Berg <johannes@sipsolutions.net>
      Signed-off-by: default avatarShawn Guo <shawnguo@kernel.org>
      26e30c64
    • Johannes Berg's avatar
      ARM: imx: use endian-safe readl/readw/writel/writew · c553138f
      Johannes Berg authored
      Instead of __raw_*, define imx_* to *_relaxed and use those.
      
      Using imx_* was requested by Arnd because *_relaxed tends to
      indicate that the code was carefully reviewed to not require
      any synchronisation and otherwise be safe, which isn't the
      case here with the automatic conversion.
      
      The conversion itself was done using the following spatch
      (since that automatically adjusts the coding style unlike
      a simple search&replace).
      
      @@
      expression E1, E2;
      @@
      -__raw_writel(E1, E2)
      +imx_writel(E1, E2)
      @@
      expression E1, E2;
      @@
      -__raw_writew(E1, E2)
      +imx_writew(E1, E2)
      @@
      expression E1;
      @@
      -__raw_readl(E1)
      +imx_readl(E1)
      @@
      expression E1;
      @@
      -__raw_readw(E1)
      +imx_readw(E1)
      Signed-off-by: default avatarJohannes Berg <johannes@sipsolutions.net>
      Signed-off-by: default avatarShawn Guo <shawnguo@kernel.org>
      c553138f
  3. 28 Jan, 2016 3 commits
  4. 24 Jan, 2016 34 commits