mirror of
https://github.com/openharmony/drivers_framework.git
synced 2026-07-19 16:24:45 -04:00
new mmc code
This commit is contained in:
@@ -328,15 +328,15 @@ enum MmcCsdSpecVersion {
|
||||
};
|
||||
|
||||
enum MmcCsdCardCmdClass {
|
||||
MMC_CSD_CCC_BASIC = (1<<0),
|
||||
MMC_CSD_CCC_BLOCK_READ = (1<<2),
|
||||
MMC_CSD_CCC_BLOCK_WRITE = (1<<4),
|
||||
MMC_CSD_CCC_ERASE = (1<<5),
|
||||
MMC_CSD_CCC_WRITE_PROT = (1<<6),
|
||||
MMC_CSD_CCC_LOCK_CARD = (1<<7),
|
||||
MMC_CSD_CCC_APP_SPEC = (1<<8),
|
||||
MMC_CSD_CCC_IO_MODE = (1<<9),
|
||||
MMC_CSD_CCC_SWITCH = (1<<10),
|
||||
MMC_CSD_CCC_BASIC = (1 << 0),
|
||||
MMC_CSD_CCC_BLOCK_READ = (1 << 2),
|
||||
MMC_CSD_CCC_BLOCK_WRITE = (1 << 4),
|
||||
MMC_CSD_CCC_ERASE = (1 << 5),
|
||||
MMC_CSD_CCC_WRITE_PROT = (1 << 6),
|
||||
MMC_CSD_CCC_LOCK_CARD = (1 << 7),
|
||||
MMC_CSD_CCC_APP_SPEC = (1 << 8),
|
||||
MMC_CSD_CCC_IO_MODE = (1 << 9),
|
||||
MMC_CSD_CCC_SWITCH = (1 << 10),
|
||||
};
|
||||
|
||||
enum MmcBusMode {
|
||||
|
||||
@@ -167,7 +167,6 @@ static void PlatformDeviceRemoveNotifier(struct PlatformDevice *device, struct P
|
||||
(void)OsalSpinUnlock(&device->spin);
|
||||
}
|
||||
|
||||
|
||||
void PlatformDeviceUnregNotifier(struct PlatformDevice *device, struct PlatformNotifier *notifier)
|
||||
{
|
||||
if (device == NULL || notifier == NULL) {
|
||||
|
||||
Reference in New Issue
Block a user