projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
mmc: Split mmc struct, rework mmc initialization (v2)
[oweals/u-boot.git]
/
include
/
dwmmc.h
diff --git
a/include/dwmmc.h
b/include/dwmmc.h
index 08ced0bf1f0440cc624915569d1673d311249e89..c9bdf51a6718fd7638f4168f324d6592bc63febb 100644
(file)
--- 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)
#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;
struct dwmci_host {
char *name;
void *ioaddr;
@@
-138,7
+141,10
@@
struct dwmci_host {
struct mmc *mmc;
void (*clksel)(struct dwmci_host *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 mmc_config cfg;
};
struct dwmci_idmac {
};
struct dwmci_idmac {