浏览代码

[bsp][imxrt1052-evk] change sdio default speed to 25M

liang yongxiang 7 年之前
父节点
当前提交
50b84bb08e
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      bsp/imxrt1052-evk/drivers/drv_sdio.c

+ 1 - 1
bsp/imxrt1052-evk/drivers/drv_sdio.c

@@ -56,7 +56,7 @@ static int enable_log = 1;
 
 
 #define USDHC_ADMA_TABLE_WORDS      (8U)        /* define the ADMA descriptor table length */
 #define USDHC_ADMA_TABLE_WORDS      (8U)        /* define the ADMA descriptor table length */
 #define USDHC_ADMA2_ADDR_ALIGN      (4U)        /* define the ADMA2 descriptor table addr align size */
 #define USDHC_ADMA2_ADDR_ALIGN      (4U)        /* define the ADMA2 descriptor table addr align size */
-#define IMXRT_MAX_FREQ              (50UL * 1000UL * 1000UL)
+#define IMXRT_MAX_FREQ              (25UL * 1000UL * 1000UL)
     
     
 #define USDHC_ADMA_TABLE_WORDS      (8U)        /* define the ADMA descriptor table length */
 #define USDHC_ADMA_TABLE_WORDS      (8U)        /* define the ADMA descriptor table length */
 #define USDHC_ADMA2_ADDR_ALIGN      (4U)        /* define the ADMA2 descriptor table addr align size */
 #define USDHC_ADMA2_ADDR_ALIGN      (4U)        /* define the ADMA2 descriptor table addr align size */