mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-22 07:01:39 +00:00
MMC: add MMC_VERSION_5_0
Signed-off-by: Markus Niebel <Markus.Niebel@tq-group.com> Acked-by: Jaehoon Chung <jh80.chung@samsung.com>
This commit is contained in:
parent
d7b2912991
commit
edab723b47
2 changed files with 4 additions and 0 deletions
|
@ -1001,6 +1001,9 @@ static int mmc_startup(struct mmc *mmc)
|
||||||
case 6:
|
case 6:
|
||||||
mmc->version = MMC_VERSION_4_5;
|
mmc->version = MMC_VERSION_4_5;
|
||||||
break;
|
break;
|
||||||
|
case 7:
|
||||||
|
mmc->version = MMC_VERSION_5_0;
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
|
@ -31,6 +31,7 @@
|
||||||
#define MMC_VERSION_4_3 (MMC_VERSION_MMC | 0x403)
|
#define MMC_VERSION_4_3 (MMC_VERSION_MMC | 0x403)
|
||||||
#define MMC_VERSION_4_41 (MMC_VERSION_MMC | 0x429)
|
#define MMC_VERSION_4_41 (MMC_VERSION_MMC | 0x429)
|
||||||
#define MMC_VERSION_4_5 (MMC_VERSION_MMC | 0x405)
|
#define MMC_VERSION_4_5 (MMC_VERSION_MMC | 0x405)
|
||||||
|
#define MMC_VERSION_5_0 (MMC_VERSION_MMC | 0x500)
|
||||||
|
|
||||||
#define MMC_MODE_HS (1 << 0)
|
#define MMC_MODE_HS (1 << 0)
|
||||||
#define MMC_MODE_HS_52MHz (1 << 1)
|
#define MMC_MODE_HS_52MHz (1 << 1)
|
||||||
|
|
Loading…
Add table
Reference in a new issue