clk: rockchip: rk3328: add case SCLK_EMMC_SAMPLE

Change-Id: Id2769eefc1692422110152e6dbec7afeb4488c8c
Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com>
This commit is contained in:
Jason Zhu 2018-10-16 11:53:05 +08:00 committed by Kever Yang
parent 9f1d10d309
commit 14262c55f8
1 changed files with 2 additions and 0 deletions

View File

@ -292,6 +292,7 @@ static ulong rk3328_mmc_get_clk(struct rk3328_clk_priv *priv, uint clk_id)
break;
case HCLK_EMMC:
case SCLK_EMMC:
case SCLK_EMMC_SAMPLE:
con_id = 32;
break;
default:
@ -756,6 +757,7 @@ static ulong rk3328_clk_get_rate(struct clk *clk)
case HCLK_EMMC:
case SCLK_SDMMC:
case SCLK_EMMC:
case SCLK_EMMC_SAMPLE:
rate = rk3328_mmc_get_clk(priv, clk->id);
break;
#ifndef CONFIG_SPL_BUILD