2 * linux/include/asm-arm/arch-nexuspci/memory.h
4 * Copyright (c) 1997, 1998, 2000 FutureTV Labs Ltd.
5 * Copyright (c) 1999 Russell King
8 #ifndef __ASM_ARCH_MEMORY_H
9 #define __ASM_ARCH_MEMORY_H
12 * Physical DRAM offset.
14 #define PHYS_OFFSET (0x40000000UL)
15 #define BUS_OFFSET (0xe0000000UL)
18 * On the PCI bus the DRAM appears at address 0xe0000000
20 #define __virt_to_bus(x) ((unsigned long)(x) - PAGE_OFFSET + BUS_OFFSET)
21 #define __bus_to_virt(x) ((unsigned long)(x) + PAGE_OFFSET - BUS_OFFSET)