diff options
author | Rob Herring <rob.herring@calxeda.com> | 2012-02-10 18:29:09 -0600 |
---|---|---|
committer | Rob Herring <rob.herring@calxeda.com> | 2012-03-06 21:34:40 -0600 |
commit | 8a52dd4f94abe147bbd4080664817a389c8b6818 (patch) | |
tree | ea1410f98400ba20dca0224aaf891f0cf823a06c /arch/arm/mach-orion5x/include/mach | |
parent | 9675b8840f4059ddd473956320101e80129115ab (diff) | |
download | op-kernel-dev-8a52dd4f94abe147bbd4080664817a389c8b6818.zip op-kernel-dev-8a52dd4f94abe147bbd4080664817a389c8b6818.tar.gz |
ARM: orion5x: clean-up mach/io.h
Move orion5x specific mach/io.h parts into common.h.
Signed-off-by: Rob Herring <rob.herring@calxeda.com>
Cc: Lennert Buytenhek <kernel@wantstofly.org>
Acked-by: Nicolas Pitre <nico@linaro.org>
Diffstat (limited to 'arch/arm/mach-orion5x/include/mach')
-rw-r--r-- | arch/arm/mach-orion5x/include/mach/io.h | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/arch/arm/mach-orion5x/include/mach/io.h b/arch/arm/mach-orion5x/include/mach/io.h index e9d9afd..444136d 100644 --- a/arch/arm/mach-orion5x/include/mach/io.h +++ b/arch/arm/mach-orion5x/include/mach/io.h @@ -18,16 +18,4 @@ #define __io(a) __typesafe_io(a) #define __mem_pci(a) (a) - -/***************************************************************************** - * Helpers to access Orion registers - ****************************************************************************/ -/* - * These are not preempt-safe. Locks, if needed, must be taken - * care of by the caller. - */ -#define orion5x_setbits(r, mask) writel(readl(r) | (mask), (r)) -#define orion5x_clrbits(r, mask) writel(readl(r) & ~(mask), (r)) - - #endif |