[MTD] [NOR] Fix overflow check in jedec_probe
[linux-2.6] / include / asm-arm / arch-ebsa110 / memory.h
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  */
22 #define PHYS_OFFSET     UL(0x00000000)
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
31 /*
32  * Cache flushing area - SRAM
33  */
34 #define FLUSH_BASE_PHYS         0x40000000
35 #define FLUSH_BASE              0xdf000000
36
37 #endif