Commit 10ba1d3cff7d32e4c2ef4301baf5e2e44530176a
Committed by
Wolfgang Denk
1 parent
56cd247232
Exists in
master
and in
54 other branches
ftsmc020: add missing definitions
Add missing definitions in header file according to datasheet. Signed-off-by: Macpaul Lin <macpaul@andestech.com>
Showing 1 changed file with 5 additions and 0 deletions Side-by-side Diff
include/faraday/ftsmc020.h
... | ... | @@ -48,6 +48,10 @@ |
48 | 48 | |
49 | 49 | #define FTSMC020_BANK_WPROT (1 << 11) |
50 | 50 | |
51 | +#define FTSMC020_BANK_TYPE1 (1 << 10) | |
52 | +#define FTSMC020_BANK_TYPE2 (1 << 9) | |
53 | +#define FTSMC020_BANK_TYPE3 (1 << 8) | |
54 | + | |
51 | 55 | #define FTSMC020_BANK_SIZE_32K (0xb << 4) |
52 | 56 | #define FTSMC020_BANK_SIZE_64K (0xc << 4) |
53 | 57 | #define FTSMC020_BANK_SIZE_128K (0xd << 4) |
... | ... | @@ -59,6 +63,7 @@ |
59 | 63 | #define FTSMC020_BANK_SIZE_8M (0x3 << 4) |
60 | 64 | #define FTSMC020_BANK_SIZE_16M (0x4 << 4) |
61 | 65 | #define FTSMC020_BANK_SIZE_32M (0x5 << 4) |
66 | +#define FTSMC020_BANK_SIZE_64M (0x6 << 4) | |
62 | 67 | |
63 | 68 | #define FTSMC020_BANK_MBW_8 (0x0 << 0) |
64 | 69 | #define FTSMC020_BANK_MBW_16 (0x1 << 0) |