mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-06-23 23:22:02 +00:00
mmc: sdhci: add mmc structure for host
So that sdhci host would tell in the driver that the mmc current attributes. Signed-off-by: Lei Wen <leiwen@marvell.com>
This commit is contained in:
parent
0d2f15f9c7
commit
6cf1b17cd0
2 changed files with 4 additions and 0 deletions
|
@ -27,6 +27,8 @@
|
|||
#define __SDHCI_HW_H
|
||||
|
||||
#include <asm/io.h>
|
||||
#include <mmc.h>
|
||||
|
||||
/*
|
||||
* Controller registers
|
||||
*/
|
||||
|
@ -239,6 +241,7 @@ struct sdhci_host {
|
|||
unsigned int quirks;
|
||||
unsigned int version;
|
||||
unsigned int clock;
|
||||
struct mmc *mmc;
|
||||
const struct sdhci_ops *ops;
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue