sunxi: Add sun4i support
[platform/kernel/u-boot.git] / include / configs / T4240RDB.h
index b1a8053..183255d 100644 (file)
@@ -678,7 +678,11 @@ unsigned long get_board_ddr_clk(void);
  * interleaving. It can be cacheline, page, bank, superbank.
  * See doc/README.fsl-ddr for details.
  */
+#ifdef CONFIG_PPC_T4240
 #define CTRL_INTLV_PREFERED 3way_4KB
+#else
+#define CTRL_INTLV_PREFERED cacheline
+#endif
 
 #define        CONFIG_EXTRA_ENV_SETTINGS                               \
        "hwconfig=fsl_ddr:"                                     \