summaryrefslogtreecommitdiff
path: root/arch/arm/mach-ux500/include/mach/memory.h
blob: ada8ad0c2d870f3c7761f5493ee9a13190011882 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
/*
 * Copyright (C) 2009 ST-Ericsson
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 */
#ifndef __ASM_ARCH_MEMORY_H
#define __ASM_ARCH_MEMORY_H

/*
 * Physical DRAM offset.
 */
#define PLAT_PHYS_OFFSET	UL(0x00000000)
#define BUS_OFFSET	UL(0x00000000)

#ifdef CONFIG_UX500_SOC_DB8500
/*
 * STE NMF CM driver only used on the U8500 allocate using dma_alloc_coherent:
 *    8M for SIA and SVA data + 2M for SIA code + 2M for SVA code
 */
#define CONSISTENT_DMA_SIZE SZ_16M
#endif

#endif