]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
clk/ast2600: Adjust eMMC clock names
authorJoel Stanley <joel@jms.id.au>
Thu, 23 Jun 2022 09:05:31 +0000 (18:35 +0930)
committerTom Rini <trini@konsulko.com>
Wed, 6 Jul 2022 18:31:29 +0000 (14:31 -0400)
Adjust clock to stay compatible with those used by the Linux kernel
device tree.

Signed-off-by: Joel Stanley <joel@jms.id.au>
drivers/clk/aspeed/clk_ast2600.c

index 7d85c7f09823bbf76df5f9fde01ef8c96cf9d9a0..0df1dc3718d3bee41d387f2eaf48e01f5f42563c 100644 (file)
@@ -1073,13 +1073,13 @@ static int ast2600_clk_enable(struct clk *clk)
        case ASPEED_CLK_GATE_SDCLK:
                ast2600_enable_sdclk(priv->scu);
                break;
-       case ASPEED_CLK_GATE_SDEXTCLK:
+       case ASPEED_CLK_SDIO:
                ast2600_enable_extsdclk(priv->scu);
                break;
        case ASPEED_CLK_GATE_EMMCCLK:
                ast2600_enable_emmcclk(priv->scu);
                break;
-       case ASPEED_CLK_GATE_EMMCEXTCLK:
+       case ASPEED_CLK_EMMC:
                ast2600_enable_extemmcclk(priv->scu);
                break;
        case ASPEED_CLK_GATE_FSICLK: