2 * arch/arm/mach-ns9xxx/include/mach/memory.h
4 * Copyright (C) 2006 by Digi International Inc.
7 * This program is free software; you can redistribute it and/or modify it
8 * under the terms of the GNU General Public License version 2 as published by
9 * the Free Software Foundation.
11 #ifndef __ASM_ARCH_MEMORY_H
12 #define __ASM_ARCH_MEMORY_H
15 #define NS9XXX_CSxSTAT_PHYS(x) UL(((x) + 4) << 28)
17 #define NS9XXX_CS0STAT_LENGTH UL(0x1000)
18 #define NS9XXX_CS1STAT_LENGTH UL(0x1000)
19 #define NS9XXX_CS2STAT_LENGTH UL(0x1000)
20 #define NS9XXX_CS3STAT_LENGTH UL(0x1000)
22 #define PHYS_OFFSET UL(0x00000000)
24 #define __virt_to_bus(x) __virt_to_phys(x)
25 #define __bus_to_virt(x) __phys_to_virt(x)