GUI: Fix Tomato RAF theme for all builds. Compilation typo.
[tomato.git] / release / src-rt-6.x.4708 / linux / linux-2.6.36 / arch / arm / mach-nomadik / include / mach / fsmc.h
blob8c2c05183685bb61347d989eac10b7dd497b5d2b
2 /* Definitions for the Nomadik FSMC "Flexible Static Memory controller" */
4 #ifndef __ASM_ARCH_FSMC_H
5 #define __ASM_ARCH_FSMC_H
7 #include <mach/hardware.h>
8 /*
9 * Register list
12 /* bus control reg. and bus timing reg. for CS0..CS3 */
13 #define FSMC_BCR(x) (NOMADIK_FSMC_VA + (x << 3))
14 #define FSMC_BTR(x) (NOMADIK_FSMC_VA + (x << 3) + 0x04)
16 /* PC-card and NAND:
17 * PCR = control register
18 * PMEM = memory timing
19 * PATT = attribute timing
20 * PIO = I/O timing
21 * PECCR = ECC result
23 #define FSMC_PCR(x) (NOMADIK_FSMC_VA + ((2 + x) << 5) + 0x00)
24 #define FSMC_PMEM(x) (NOMADIK_FSMC_VA + ((2 + x) << 5) + 0x08)
25 #define FSMC_PATT(x) (NOMADIK_FSMC_VA + ((2 + x) << 5) + 0x0c)
26 #define FSMC_PIO(x) (NOMADIK_FSMC_VA + ((2 + x) << 5) + 0x10)
27 #define FSMC_PECCR(x) (NOMADIK_FSMC_VA + ((2 + x) << 5) + 0x14)
29 #endif /* __ASM_ARCH_FSMC_H */