aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/plat-mxc/include/mach
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/plat-mxc/include/mach')
-rw-r--r--arch/arm/plat-mxc/include/mach/entry-macro.S2
-rw-r--r--arch/arm/plat-mxc/include/mach/io.h4
-rw-r--r--arch/arm/plat-mxc/include/mach/memory.h8
-rw-r--r--arch/arm/plat-mxc/include/mach/mx1.h2
-rw-r--r--arch/arm/plat-mxc/include/mach/mx27.h3
-rw-r--r--arch/arm/plat-mxc/include/mach/mx31.h3
6 files changed, 11 insertions, 11 deletions
diff --git a/arch/arm/plat-mxc/include/mach/entry-macro.S b/arch/arm/plat-mxc/include/mach/entry-macro.S
index 11632028f7d1..5f01d60da845 100644
--- a/arch/arm/plat-mxc/include/mach/entry-macro.S
+++ b/arch/arm/plat-mxc/include/mach/entry-macro.S
@@ -9,6 +9,8 @@
9 * published by the Free Software Foundation. 9 * published by the Free Software Foundation.
10 */ 10 */
11 11
12#include <mach/hardware.h>
13
12#define AVIC_NIMASK 0x04 14#define AVIC_NIMASK 0x04
13 15
14 @ this macro disables fast irq (not implemented) 16 @ this macro disables fast irq (not implemented)
diff --git a/arch/arm/plat-mxc/include/mach/io.h b/arch/arm/plat-mxc/include/mach/io.h
index c0cb267e7403..b4f2de769466 100644
--- a/arch/arm/plat-mxc/include/mach/io.h
+++ b/arch/arm/plat-mxc/include/mach/io.h
@@ -25,8 +25,8 @@ __mx3_ioremap(unsigned long phys_addr, size_t size, unsigned int mtype)
25 /* Access all peripherals below 0x80000000 as nonshared device 25 /* Access all peripherals below 0x80000000 as nonshared device
26 * but leave l2cc alone. 26 * but leave l2cc alone.
27 */ 27 */
28 if ((phys_addr < 0x80000000) && ((phys_addr < L2CC_BASE_ADDR) || 28 if ((phys_addr < 0x80000000) && ((phys_addr < 0x30000000) ||
29 (phys_addr >= L2CC_BASE_ADDR + L2CC_SIZE))) 29 (phys_addr >= 0x30000000 + SZ_1M)))
30 mtype = MT_DEVICE_NONSHARED; 30 mtype = MT_DEVICE_NONSHARED;
31 } 31 }
32 32
diff --git a/arch/arm/plat-mxc/include/mach/memory.h b/arch/arm/plat-mxc/include/mach/memory.h
index 203688e6164e..0b808399097f 100644
--- a/arch/arm/plat-mxc/include/mach/memory.h
+++ b/arch/arm/plat-mxc/include/mach/memory.h
@@ -11,6 +11,12 @@
11#ifndef __ASM_ARCH_MXC_MEMORY_H__ 11#ifndef __ASM_ARCH_MXC_MEMORY_H__
12#define __ASM_ARCH_MXC_MEMORY_H__ 12#define __ASM_ARCH_MXC_MEMORY_H__
13 13
14#include <mach/hardware.h> 14#if defined CONFIG_ARCH_MX1
15#define PHYS_OFFSET UL(0x08000000)
16#elif defined CONFIG_ARCH_MX2
17#define PHYS_OFFSET UL(0xA0000000)
18#elif defined CONFIG_ARCH_MX3
19#define PHYS_OFFSET UL(0x80000000)
20#endif
15 21
16#endif /* __ASM_ARCH_MXC_MEMORY_H__ */ 22#endif /* __ASM_ARCH_MXC_MEMORY_H__ */
diff --git a/arch/arm/plat-mxc/include/mach/mx1.h b/arch/arm/plat-mxc/include/mach/mx1.h
index 8476a15dbfc0..b92e02324d8e 100644
--- a/arch/arm/plat-mxc/include/mach/mx1.h
+++ b/arch/arm/plat-mxc/include/mach/mx1.h
@@ -18,8 +18,6 @@
18 18
19#include <mach/vmalloc.h> 19#include <mach/vmalloc.h>
20 20
21#define PHYS_OFFSET UL(0x08000000)
22
23/* 21/*
24 * Memory map 22 * Memory map
25 */ 23 */
diff --git a/arch/arm/plat-mxc/include/mach/mx27.h b/arch/arm/plat-mxc/include/mach/mx27.h
index ae8637471ae8..0313be720552 100644
--- a/arch/arm/plat-mxc/include/mach/mx27.h
+++ b/arch/arm/plat-mxc/include/mach/mx27.h
@@ -289,7 +289,4 @@ extern int mx27_revision(void);
289/* this CPU supports up to 192 GPIOs (don't forget the baseboard!) */ 289/* this CPU supports up to 192 GPIOs (don't forget the baseboard!) */
290#define ARCH_NR_GPIOS (192 + 16) 290#define ARCH_NR_GPIOS (192 + 16)
291 291
292/* Start of RAM */
293#define PHYS_OFFSET SDRAM_BASE_ADDR
294
295#endif /* __ASM_ARCH_MXC_MX27_H__ */ 292#endif /* __ASM_ARCH_MXC_MX27_H__ */
diff --git a/arch/arm/plat-mxc/include/mach/mx31.h b/arch/arm/plat-mxc/include/mach/mx31.h
index 2f6d9fc0ab23..de026654b00e 100644
--- a/arch/arm/plat-mxc/include/mach/mx31.h
+++ b/arch/arm/plat-mxc/include/mach/mx31.h
@@ -239,9 +239,6 @@
239#define PCMCIA_IO_ADDRESS(x) \ 239#define PCMCIA_IO_ADDRESS(x) \
240 (((x) - X_MEMC_BASE_ADDR) + X_MEMC_BASE_ADDR_VIRT) 240 (((x) - X_MEMC_BASE_ADDR) + X_MEMC_BASE_ADDR_VIRT)
241 241
242/* Start of physical RAM - On many MX31 platforms, this is the first SDRAM bank (CSD0) */
243#define PHYS_OFFSET CSD0_BASE_ADDR
244
245/* 242/*
246 * Interrupt numbers 243 * Interrupt numbers
247 */ 244 */