Browse Source

resoved issue #636 sd compatibility

Signed-off-by: jianlonghuang <jianlong.huang@starfivetech.com>
jianlonghuang 2 years ago
parent
commit
55da63229f
1 changed files with 2 additions and 2 deletions
  1. 2 2
      board/starfive/jh7100/jh7100.c

+ 2 - 2
board/starfive/jh7100/jh7100.c

@@ -681,7 +681,7 @@ INIT_FUNC_DEF(sdio0)
 	 *the value of v is 0~31 which means
 	 *the delay_shift(sel) = 0.16 * sel (ns)
 	 */
-	_SET_SYSCON_REG_register50_SCFG_sdio0_cclk_dlychain_sel(12);
+	_SET_SYSCON_REG_register50_SCFG_sdio0_cclk_dlychain_sel(0);
 
 	_SET_SYSCON_REG_register58_SCFG_funcshare_pad_ctrl_26(0x00c000c0);
 
@@ -1532,4 +1532,4 @@ int board_init(void)
 	enable_caches();
 
 	return ret;
-}
+}