]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/blame - include/asm-arm/arch-aaec2000/memory.h
Merge branch 'header-move' of git://git.kernel.org/pub/scm/linux/kernel/git/hskinnemo...
[mirror_ubuntu-hirsute-kernel.git] / include / asm-arm / arch-aaec2000 / memory.h
CommitLineData
038c5b60
BN
1/*
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
038c5b60 14
f09b9979 15#define PHYS_OFFSET UL(0xf0000000)
038c5b60
BN
16
17#define __virt_to_bus(x) __virt_to_phys(x)
18#define __bus_to_virt(x) __phys_to_virt(x)
19
038c5b60
BN
20/*
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 */
b7dc96d7 28#define NODE_MEM_SIZE_BITS 26
038c5b60
BN
29
30#endif /* __ASM_ARCH_MEMORY_H */