arm nomadik: add i2c
[oweals/u-boot.git] / include / configs / at91cap9adk.h
index 526cd60ae0961fbe87570e6ec4ba98f1f24d8185..0ef3554216dba8cca9f2cfbb9c0c56787fe11ae1 100644 (file)
 /* our CLE is AD22 */
 #define CONFIG_SYS_NAND_MASK_CLE               (1 << 22)
 #define CONFIG_SYS_NAND_ENABLE_PIN             AT91_PIN_PD15
-#endif
 
 /* NAND flash */
 #ifdef CONFIG_CMD_NAND
 #define CONFIG_SYS_NAND_BASE                   0x40000000
 #define CONFIG_SYS_NAND_DBW_8                  1
 
+#define CONFIG_SYS_64BIT_VSPRINTF              /* needed for nand_util.c */
+#endif
+
 /* Ethernet */
 #define CONFIG_MACB                    1
 #define CONFIG_RMII                    1
 #define CONFIG_SYS_LONGHELP            1
 #define CONFIG_CMDLINE_EDITING 1
 
-#define ROUND(A, B)            (((A) + (B)) & ~((B) - 1))
 /*
  * Size of malloc() pool
  */