diff options
author | Guennadi Liakhovetski <g.liakhovetski@gmx.de> | 2009-04-03 15:33:35 +0200 |
---|---|---|
committer | Guennadi Liakhovetski <g.liakhovetski@gmx.de> | 2009-04-03 15:33:35 +0200 |
commit | 585e1cd09eb5a13991d907832b853e4c1fd7411b (patch) | |
tree | e68433c0a9622f65877e994e0805d5152b8d24c1 /linux/arch/arm/plat-mxc/include/mach | |
parent | 13a03d748ee008767d82696fe3a61593c19d37bc (diff) | |
download | mediapointer-dvb-s2-585e1cd09eb5a13991d907832b853e4c1fd7411b.tar.gz mediapointer-dvb-s2-585e1cd09eb5a13991d907832b853e4c1fd7411b.tar.bz2 |
sync: add files needed for the following two commits
Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
kernel-sync:
Diffstat (limited to 'linux/arch/arm/plat-mxc/include/mach')
-rw-r--r-- | linux/arch/arm/plat-mxc/include/mach/memory.h | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/linux/arch/arm/plat-mxc/include/mach/memory.h b/linux/arch/arm/plat-mxc/include/mach/memory.h new file mode 100644 index 000000000..cee836dfc --- /dev/null +++ b/linux/arch/arm/plat-mxc/include/mach/memory.h @@ -0,0 +1,28 @@ +/* + * Copyright 2004-2007 Freescale Semiconductor, Inc. All Rights Reserved. + */ + +/* + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 as + * published by the Free Software Foundation. + */ + +#ifndef __ASM_ARCH_MXC_MEMORY_H__ +#define __ASM_ARCH_MXC_MEMORY_H__ + +#if defined CONFIG_ARCH_MX1 +#define PHYS_OFFSET UL(0x08000000) +#elif defined CONFIG_ARCH_MX2 +#ifdef CONFIG_MACH_MX21 +#define PHYS_OFFSET UL(0xC0000000) +#endif +#ifdef CONFIG_MACH_MX27 +#define PHYS_OFFSET UL(0xA0000000) +#endif +#elif defined CONFIG_ARCH_MX3 +#define PHYS_OFFSET UL(0x80000000) +#define CONSISTENT_DMA_SIZE SZ_8M +#endif + +#endif /* __ASM_ARCH_MXC_MEMORY_H__ */ |