]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - drivers/clk/rockchip/clk_rk3399.c
rockchip: clk: rk3399: add clocking support for Ethernet
[people/ms/u-boot.git] / drivers / clk / rockchip / clk_rk3399.c
index 453c6dd8d2bf5657ce027bb2829b0a27bae695a5..1ac4ff4b2b22e5559900399bdb8336fa8c744d49 100644 (file)
@@ -802,6 +802,10 @@ static ulong rk3399_clk_set_rate(struct clk *clk, ulong rate)
        case SCLK_EMMC:
                ret = rk3399_mmc_set_clk(priv->cru, clk->id, rate);
                break;
+       case SCLK_MAC:
+               /* nothing to do, as this is an external clock */
+               ret = rate;
+               break;
        case SCLK_I2C1:
        case SCLK_I2C2:
        case SCLK_I2C3: