sd: Add definition for SET_BLOCK_COUNT command

Change-Id: Ib9cdc8e8bb7a43a4642be8cf88a1d734a6ae4808
This commit is contained in:
Solomon Peachy 2026-02-16 18:12:32 -05:00
parent 101f5cffe6
commit 478303346c
2 changed files with 2 additions and 1 deletions

View file

@ -93,6 +93,7 @@ int sd_num_drives(int first_drive);
#define SD_READ_MULTIPLE_BLOCK 18
#define SD_SEND_NUM_WR_BLOCKS 22 /* acmd22 */
#define SD_UC_ADDRESS_EXTENSION 22
#define SD_SET_BLOCK_COUNT 23
#define SD_SET_WR_BLK_ERASE_COUNT 23 /* acmd23 */
#define SD_WRITE_BLOCK 24
#define SD_WRITE_MULTIPLE_BLOCK 25

View file

@ -51,7 +51,7 @@ typedef struct
unsigned int current_bank;
#endif
unsigned int sd2plus; /* SD 2.0 or better */
unsigned int sd2plus; /* SD 2.0 or better */
} tCardInfo;
#if (CONFIG_STORAGE & STORAGE_SD)