MXC: add basic MXC91231 support
[deliverable/linux.git] / arch / arm / plat-mxc / include / mach / memory.h
CommitLineData
52c543f9
QJ
1/*
2 * Copyright 2004-2007 Freescale Semiconductor, Inc. All Rights Reserved.
3 */
4
5/*
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2 as
8 * published by the Free Software Foundation.
9 */
10
11#ifndef __ASM_ARCH_MXC_MEMORY_H__
12#define __ASM_ARCH_MXC_MEMORY_H__
13
a2449091
SH
14#if defined CONFIG_ARCH_MX1
15#define PHYS_OFFSET UL(0x08000000)
16#elif defined CONFIG_ARCH_MX2
5512e88f
HS
17#ifdef CONFIG_MACH_MX21
18#define PHYS_OFFSET UL(0xC0000000)
19#endif
20#ifdef CONFIG_MACH_MX27
a2449091 21#define PHYS_OFFSET UL(0xA0000000)
5512e88f 22#endif
a2449091
SH
23#elif defined CONFIG_ARCH_MX3
24#define PHYS_OFFSET UL(0x80000000)
8c25c36f
SH
25#elif defined CONFIG_ARCH_MX25
26#define PHYS_OFFSET UL(0x80000000)
fd6ac7bb
DT
27#elif defined CONFIG_ARCH_MXC91231
28#define PHYS_OFFSET UL(0x90000000)
a2449091 29#endif
52c543f9 30
6acc81c3
PZ
31#if defined(CONFIG_MX1_VIDEO)
32/*
33 * Increase size of DMA-consistent memory region.
34 * This is required for i.MX camera driver to capture at least four VGA frames.
35 */
36#define CONSISTENT_DMA_SIZE SZ_4M
37#endif /* CONFIG_MX1_VIDEO */
38
c2e5307b
VL
39#if defined(CONFIG_MX3_VIDEO)
40/*
41 * Increase size of DMA-consistent memory region.
42 * This is required for mx3 camera driver to capture at least two QXGA frames.
43 */
44#define CONSISTENT_DMA_SIZE SZ_8M
45#endif /* CONFIG_MX3_VIDEO */
46
f304fc42 47#endif /* __ASM_ARCH_MXC_MEMORY_H__ */
This page took 0.208992 seconds and 5 git commands to generate.