Skip to content

Instantly share code, notes, and snippets.

@openedev
Created January 14, 2019 12:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save openedev/539c4c28074951b38f7243eb2043b6d8 to your computer and use it in GitHub Desktop.
Save openedev/539c4c28074951b38f7243eb2043b6d8 to your computer and use it in GitHub Desktop.
DM-MMC
+ printf("MMC%d: %p = 0x%x, %p = 0x%x, %p = 0x%x\n", priv->mmc_no, gate_reg,
+ readl(gate_reg), priv->mclkreg, readl(priv->mclkreg),
+ reset_reg, readl(reset_reg));
+
ret = mmc_set_mod_clk(priv, 24000000);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment