diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2005-11-17 11:23:42 -0500 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2005-11-17 11:23:42 -0500 |
commit | bdc3c3c7cbc3e1244c03640b4b372d097a1dacf3 (patch) | |
tree | 513f7beb915ef2adae11f9222879a6eab911ef02 /include/asm-mips/mach-db1x00/db1x00.h | |
parent | 6f17ce33fef3fd84e3e45850c9388d118adfad96 (diff) |
[MIPS] Add missing arch defines for the Alchemy MTD driver.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'include/asm-mips/mach-db1x00/db1x00.h')
-rw-r--r-- | include/asm-mips/mach-db1x00/db1x00.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/asm-mips/mach-db1x00/db1x00.h b/include/asm-mips/mach-db1x00/db1x00.h index efafe65258b6..7b28b23f91ce 100644 --- a/include/asm-mips/mach-db1x00/db1x00.h +++ b/include/asm-mips/mach-db1x00/db1x00.h | |||
@@ -200,6 +200,12 @@ typedef volatile struct | |||
200 | ((NAND_T_PUL & 0xF) << NAND_T_PUL_SHIFT) | \ | 200 | ((NAND_T_PUL & 0xF) << NAND_T_PUL_SHIFT) | \ |
201 | ((NAND_T_SU & 0xF) << NAND_T_SU_SHIFT) | \ | 201 | ((NAND_T_SU & 0xF) << NAND_T_SU_SHIFT) | \ |
202 | ((NAND_T_WH & 0xF) << NAND_T_WH_SHIFT) | 202 | ((NAND_T_WH & 0xF) << NAND_T_WH_SHIFT) |
203 | #define NAND_CS 1 | ||
204 | |||
205 | /* should be done by yamon */ | ||
206 | #define NAND_STCFG 0x00400005 /* 8-bit NAND */ | ||
207 | #define NAND_STTIME 0x00007774 /* valid for 396MHz SD=2 only */ | ||
208 | #define NAND_STADDR 0x12000FFF /* physical address 0x20000000 */ | ||
203 | 209 | ||
204 | #endif /* __ASM_DB1X00_H */ | 210 | #endif /* __ASM_DB1X00_H */ |
205 | 211 | ||