summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-ep93xx/snappercl15.c
diff options
context:
space:
mode:
authorRyan Mallon <rmallon@gmail.com>2012-01-11 09:06:08 +1100
committerRyan Mallon <rmallon@gmail.com>2012-03-14 11:41:02 +1100
commit258249ec0eaea479eead856ee49e336415f4b1df (patch)
treea5e8b16a308696e7d98fcdffa719887b4a08adc2 /arch/arm/mach-ep93xx/snappercl15.c
parentfde7d9049e55ab85a390be7f415d74c9f62dd0f9 (diff)
downloadop-kernel-dev-258249ec0eaea479eead856ee49e336415f4b1df.zip
op-kernel-dev-258249ec0eaea479eead856ee49e336415f4b1df.tar.gz
ep93xx: Move PHYS_BASE defines to local SoC header file
The PHYS_BASE defines in arch/arm/mach-ep93xx/include/mach-ep93xx-regs.h are only used in the SoC code. Move the defines to a local header file. Signed-off-by: Ryan Mallon <rmallon@gmail.com> Reviewed-by: Mika Westerberg <mika.westerberg@iki.fi> Acked-by: Hartley Sweeten <hsweeten@visionengravers.com>
Diffstat (limited to 'arch/arm/mach-ep93xx/snappercl15.c')
-rw-r--r--arch/arm/mach-ep93xx/snappercl15.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-ep93xx/snappercl15.c b/arch/arm/mach-ep93xx/snappercl15.c
index fd84633..0c00852 100644
--- a/arch/arm/mach-ep93xx/snappercl15.c
+++ b/arch/arm/mach-ep93xx/snappercl15.c
@@ -35,6 +35,8 @@
#include <asm/mach-types.h>
#include <asm/mach/arch.h>
+#include "soc.h"
+
#define SNAPPERCL15_NAND_BASE (EP93XX_CS7_PHYS_BASE + SZ_16M)
#define SNAPPERCL15_NAND_WPN (1 << 8) /* Write protect (active low) */
OpenPOWER on IntegriCloud