blob: 9eceb4148922e7e1a9bff39f1ca263ae73b2c134 [file] [log] [blame]
Bellido Nicolas038c5b62005-06-20 18:51:05 +01001/*
2 * linux/include/asm-arm/arch-aaec2000/memory.h
3 *
4 * Copyright (c) 2005 Nicolas Bellido Y Ortega
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_MEMORY_H
12#define __ASM_ARCH_MEMORY_H
13
Bellido Nicolas038c5b62005-06-20 18:51:05 +010014
Nicolas Pitref09b9972005-10-29 21:44:55 +010015#define PHYS_OFFSET UL(0xf0000000)
Bellido Nicolas038c5b62005-06-20 18:51:05 +010016
17#define __virt_to_bus(x) __virt_to_phys(x)
18#define __bus_to_virt(x) __phys_to_virt(x)
19
Bellido Nicolas038c5b62005-06-20 18:51:05 +010020/*
21 * The nodes are the followings:
22 *
23 * node 0: 0xf000.0000 - 0xf3ff.ffff
24 * node 1: 0xf400.0000 - 0xf7ff.ffff
25 * node 2: 0xf800.0000 - 0xfbff.ffff
26 * node 3: 0xfc00.0000 - 0xffff.ffff
27 */
Russell Kingb7dc96d2006-11-30 20:39:18 +000028#define NODE_MEM_SIZE_BITS 26
Bellido Nicolas038c5b62005-06-20 18:51:05 +010029
30#endif /* __ASM_ARCH_MEMORY_H */