FSL DDR: Convert STXSSA to new DDR code.
[platform/kernel/u-boot.git] / include / configs / bf537-stamp.h
index 39c7359..a06c1dc 100644 (file)
 #define CFG_LONGHELP           1
 #define CONFIG_BOOTDELAY       5
 #define CONFIG_BOOT_RETRY_TIME -1      /* Enable this if bootretry required, currently its disabled */
-#define CONFIG_BOOTCOMMAND     "run ramboot"
+#define CONFIG_BOOTCOMMAND     "run ramboot"
 
 #if defined(CONFIG_POST_TEST)
 /* POST support */
-#define CONFIG_POST            ( CFG_POST_MEMORY | \
+#define CONFIG_POST            ( CFG_POST_MEMORY | \
                                  CFG_POST_UART   | \
                                  CFG_POST_FLASH  | \
                                  CFG_POST_ETHER  | \
 #else
 #define        CFG_CBSIZE              256     /* Console I/O Buffer Size */
 #endif
-#define CFG_MAX_RAM_SIZE               (CONFIG_MEM_SIZE * 1024*1024)
+#define CFG_MAX_RAM_SIZE       (CONFIG_MEM_SIZE * 1024*1024)
 #define        CFG_PBSIZE              (CFG_CBSIZE+sizeof(CFG_PROMPT)+16)      /* Print Buffer Size */
 #define        CFG_MAXARGS             16      /* max number of command args */
 #define CFG_BARGSIZE           CFG_CBSIZE      /* Boot Argument Buffer Size */
 
 #define CFG_FLASH_BASE         0x20000000
 #define CFG_FLASH_CFI          /* The flash is CFI compatible */
-#define CFG_FLASH_CFI_DRIVER   /* Use common CFI driver */
+#define CONFIG_FLASH_CFI_DRIVER        /* Use common CFI driver */
 #define CFG_FLASH_PROTECTION
 #define CFG_MAX_FLASH_BANKS    1
 #define CFG_MAX_FLASH_SECT     71      /* some have 67 sectors (M29W320DB), but newer have 71 (M29W320EB) */
 #define NAND_MAX_CHIPS         1
 #define BFIN_NAND_READY                PF3
 
-#define NAND_WAIT_READY(nand)                          \
-       do {                                    \
-               int timeout = 0;                \
-               while(!(*pPORTFIO & PF3))       \
+#define NAND_WAIT_READY(nand)                  \
+       do {                                    \
+               int timeout = 0;                \
+               while(!(*pPORTFIO & PF3))       \
                        if (timeout++ > 100000) \
                                break;          \
        } while (0)