Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | /* |
| 2 | * linux/include/asm-arm/arch-ebsa110/memory.h |
| 3 | * |
| 4 | * Copyright (C) 1996-1999 Russell King. |
| 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 | * Changelog: |
| 11 | * 20-Oct-1996 RMK Created |
| 12 | * 31-Dec-1997 RMK Fixed definitions to reduce warnings |
| 13 | * 21-Mar-1999 RMK Renamed to memory.h |
| 14 | * RMK Moved TASK_SIZE and PAGE_OFFSET here |
| 15 | */ |
| 16 | #ifndef __ASM_ARCH_MEMORY_H |
| 17 | #define __ASM_ARCH_MEMORY_H |
| 18 | |
| 19 | /* |
| 20 | * Physical DRAM offset. |
| 21 | */ |
Nicolas Pitre | f09b997 | 2005-10-29 21:44:55 +0100 | [diff] [blame] | 22 | #define PHYS_OFFSET UL(0x00000000) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 23 | |
| 24 | /* |
| 25 | * We keep this 1:1 so that we don't interfere |
| 26 | * with the PCMCIA memory regions |
| 27 | */ |
| 28 | #define __virt_to_bus(x) (x) |
| 29 | #define __bus_to_virt(x) (x) |
| 30 | |
Russell King | 74d02fb | 2006-04-04 21:47:43 +0100 | [diff] [blame] | 31 | /* |
| 32 | * Cache flushing area - SRAM |
| 33 | */ |
| 34 | #define FLUSH_BASE_PHYS 0x40000000 |
| 35 | #define FLUSH_BASE 0xdf000000 |
| 36 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 37 | #endif |