fusee: get non-data SDMMC commands fully working on eMMC
This commit is contained in:
@@ -9,6 +9,17 @@
|
||||
/* Opaque pointer to the Tegra SDMMC registers */
|
||||
struct tegra_sdmmc;
|
||||
|
||||
/**
|
||||
* Represents the different types of devices an MMC object
|
||||
* can represent.
|
||||
*/
|
||||
enum mmc_card_type {
|
||||
MMC_CARD_EMMC,
|
||||
MMC_CARD_MMC,
|
||||
MMC_CARD_SD,
|
||||
MMC_CARD_CART,
|
||||
};
|
||||
|
||||
/**
|
||||
* Primary data structure describing a Fusée MMC driver.
|
||||
*/
|
||||
@@ -16,10 +27,11 @@ struct mmc {
|
||||
/* Controller properties */
|
||||
char *name;
|
||||
unsigned int timeout;
|
||||
enum mmc_card_type card_type;
|
||||
|
||||
/* Card properties */
|
||||
uint8_t cid[15];
|
||||
|
||||
uint32_t relative_address;
|
||||
|
||||
/* Pointers to hardware structures */
|
||||
volatile struct tegra_sdmmc *regs;
|
||||
|
||||
Reference in New Issue
Block a user