X-Git-Url: https://git.kernelconcepts.de/?a=blobdiff_plain;f=include%2Fdwmmc.h;h=b64155851d6491a5093068848c8fe5627d62e363;hb=de4fdfc1f22d70c23be5443dafacb8163023f9b1;hp=08ced0bf1f0440cc624915569d1673d311249e89;hpb=326ea986ac150acdc7656d57fca647db80b50158;p=karo-tx-uboot.git diff --git a/include/dwmmc.h b/include/dwmmc.h index 08ced0bf1f..b64155851d 100644 --- a/include/dwmmc.h +++ b/include/dwmmc.h @@ -123,6 +123,9 @@ #define DWMCI_BMOD_IDMAC_FB (1 << 1) #define DWMCI_BMOD_IDMAC_EN (1 << 7) +/* quirks */ +#define DWMCI_QUIRK_DISABLE_SMU (1 << 0) + struct dwmci_host { char *name; void *ioaddr; @@ -138,7 +141,8 @@ struct dwmci_host { struct mmc *mmc; void (*clksel)(struct dwmci_host *host); - unsigned int (*mmc_clk)(int dev_index); + void (*board_init)(struct dwmci_host *host); + unsigned int (*get_mmc_clk)(struct dwmci_host *host); }; struct dwmci_idmac {