fusee: support low-voltage SDMMC mode
This commit is contained in:
@@ -61,8 +61,9 @@ enum sdmmc_spec_version {
|
||||
MMC_VERSION_4 = 0,
|
||||
|
||||
/* SD card versions */
|
||||
SD_VERSION_1 = 1,
|
||||
SD_VERSION_2 = 2,
|
||||
SD_VERSION_1_0 = 0,
|
||||
SD_VERSION_1_1 = 1,
|
||||
SD_VERSION_2_0 = 2,
|
||||
|
||||
};
|
||||
|
||||
@@ -143,6 +144,7 @@ struct mmc {
|
||||
/* Per-controller operations. */
|
||||
int (*set_up_clock_and_io)(struct mmc *mmc);
|
||||
int (*enable_supplies)(struct mmc *mmc);
|
||||
int (*switch_to_low_voltage)(struct mmc *mmc);
|
||||
bool (*card_present)(struct mmc *mmc);
|
||||
|
||||
/* Per-card-type operations */
|
||||
@@ -166,6 +168,7 @@ struct mmc {
|
||||
uint32_t partition_switch_time;
|
||||
|
||||
uint8_t read_block_order;
|
||||
uint8_t write_block_order;
|
||||
bool uses_block_addressing;
|
||||
|
||||
/* Pointers to hardware structures */
|
||||
|
||||
Reference in New Issue
Block a user