]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
ftsmc020: add missing definitions
authorMacpaul Lin <macpaul@andestech.com>
Sun, 1 May 2011 22:17:31 +0000 (22:17 +0000)
committerWolfgang Denk <wd@denx.de>
Thu, 12 May 2011 21:43:38 +0000 (23:43 +0200)
Add missing definitions in header file according to datasheet.

Signed-off-by: Macpaul Lin <macpaul@andestech.com>
include/faraday/ftsmc020.h

index 4e1d4493eb03d0753c3aff4c64bdedbe1162326d..59c6f8ea5eeffaf7bf3bbdcae3fc90b18509a8c0 100644 (file)
@@ -48,6 +48,10 @@ void ftsmc020_init(void);
 
 #define FTSMC020_BANK_WPROT    (1 << 11)
 
+#define FTSMC020_BANK_TYPE1    (1 << 10)
+#define FTSMC020_BANK_TYPE2    (1 << 9)
+#define FTSMC020_BANK_TYPE3    (1 << 8)
+
 #define FTSMC020_BANK_SIZE_32K (0xb << 4)
 #define FTSMC020_BANK_SIZE_64K (0xc << 4)
 #define FTSMC020_BANK_SIZE_128K        (0xd << 4)
@@ -59,6 +63,7 @@ void ftsmc020_init(void);
 #define FTSMC020_BANK_SIZE_8M  (0x3 << 4)
 #define FTSMC020_BANK_SIZE_16M (0x4 << 4)
 #define FTSMC020_BANK_SIZE_32M (0x5 << 4)
+#define FTSMC020_BANK_SIZE_64M (0x6 << 4)
 
 #define FTSMC020_BANK_MBW_8    (0x0 << 0)
 #define FTSMC020_BANK_MBW_16   (0x1 << 0)