aboutsummaryrefslogtreecommitdiff
path: root/hw/sd/sd.c
AgeCommit message (Expand)AuthorFilesLines
2023-09-01hw/sd: Add sd_cmd_SEND_RELATIVE_ADDR() handlerPhilippe Mathieu-Daudé1-13/+15
2023-09-01hw/sd: Add sd_cmd_ALL_SEND_CID() handlerPhilippe Mathieu-Daudé1-11/+12
2023-09-01hw/sd: Add sd_cmd_SEND_OP_CMD() handlerPhilippe Mathieu-Daudé1-9/+9
2023-09-01hw/sd: Add sd_cmd_GO_IDLE_STATE() handlerPhilippe Mathieu-Daudé1-12/+12
2023-09-01hw/sd: Add sd_cmd_unimplemented() handlerPhilippe Mathieu-Daudé1-9/+12
2023-09-01hw/sd: Add sd_cmd_illegal() handlerPhilippe Mathieu-Daudé1-36/+26
2023-09-01hw/sd: Introduce sd_cmd_handler typePhilippe Mathieu-Daudé1-0/+13
2023-09-01hw/sd: Move proto_name to SDProto structurePhilippe Mathieu-Daudé1-8/+27
2023-09-01hw/sd: When card is in wrong state, log which spec version is usedPhilippe Mathieu-Daudé1-2/+16
2023-09-01hw/sd: When card is in wrong state, log which state it isPhilippe Mathieu-Daudé1-3/+9
2023-09-01hw/sd/sdcard: Return ILLEGAL for CMD19/CMD23 prior SD spec v3.01Philippe Mathieu-Daudé1-2/+2
2023-03-20replace TABs with spacesYeqi Fu1-92/+92
2022-07-12block: Change blk_{pread,pwrite}() param orderAlberto Faria1-2/+2
2022-07-12block: Add a 'flags' param to blk_pread()Alberto Faria1-1/+1
2022-04-06Remove qemu-common.h include from most unitsMarc-André Lureau1-1/+0
2022-01-04hw/sd: Add SDHC support for SD card SPI-modeFrank Chang1-7/+17
2022-01-04hw/sd/sdcard: Rename Write Protect Group variablesPhilippe Mathieu-Daudé1-14/+14
2021-08-03hw/sd/sdcard: Fix assertion accessing out-of-range addresses with CMD30Philippe Mathieu-Daudé1-1/+1
2021-08-03hw/sd/sdcard: Document out-of-range addresses for SEND_WRITE_PROTPhilippe Mathieu-Daudé1-1/+8
2021-07-12hw/sd/sdcard: Check for valid address range in SEND_WRITE_PROT (CMD30)Philippe Mathieu-Daudé1-0/+5
2021-07-12hw/sd/sdcard: Extract address_in_range() helper, log invalid accessesPhilippe Mathieu-Daudé1-12/+21
2021-07-12hw/sd/sdcard: When card is in wrong state, log which state it isPhilippe Mathieu-Daudé1-1/+2
2021-03-22hw/sd: sd: Actually perform the erase operationBin Meng1-9/+13
2021-03-22hw/sd: sd: Fix build error when DEBUG_SD is onBin Meng1-0/+1
2021-02-20hw/sd: sd: Bypass the RCA check for CMD13 in SPI modeBin Meng1-1/+2
2021-02-20hw/sd: sd: Skip write protect groups check in CMD24/25 for high capacity cardsBin Meng1-5/+9
2021-02-20hw/sd: sd: Skip write protect groups check in sd_erase() for high capacity cardsBin Meng1-6/+12
2021-02-20hw/sd: sd: Move the sd_block_{read, write} and macros aheadBin Meng1-21/+21
2021-02-20hw/sd: sd: Fix CMD30 response typeBin Meng1-1/+1
2021-02-20hw/sd: sd: Only SDSC cards support CMD28/29/30Bin Meng1-0/+12
2021-02-20hw/sd: sd: Fix address check in sd_erase()Bin Meng1-1/+1
2021-02-20hw/sd: Introduce receive_ready() callbackBin Meng1-0/+6
2021-02-20hw/sd: sd: Allow single/multiple block write for SPI modeBin Meng1-3/+0
2021-02-20hw/sd: sd: Remove duplicated codes in single/multiple block read/writeBin Meng1-47/+0
2021-01-27block: Separate blk_is_writable() and blk_supports_write_perm()Kevin Wolf1-3/+3
2021-01-24hw/sd: sd: Drop sd_crc16()Bin Meng1-18/+0
2021-01-24hw/sd: sd: Support CMD59 for SPI modeBin Meng1-7/+1
2021-01-08Remove superfluous timer_del() callsPeter Maydell1-1/+0
2020-12-18qdev: Move softmmu properties to qdev-properties-system.hEduardo Habkost1-0/+1
2020-11-17hw/sd: Fix 2 GiB card CSD register valuesBin Meng1-4/+11
2020-10-26hw/sd/sdcard: Zero out function selection fields before being populatedBin Meng1-0/+1
2020-10-26hw/sd/sdcard: Make iolen unsignedPhilippe Mathieu-Daudé1-1/+1
2020-10-26hw/sd/sdcard: Constify sd_crc*()'s message argumentPhilippe Mathieu-Daudé1-4/+4
2020-10-26hw/sd/sdcard: Simplify cmd_valid_while_locked()Philippe Mathieu-Daudé1-6/+5
2020-10-26hw/sd/sdcard: Update the SDState documentationPhilippe Mathieu-Daudé1-1/+4
2020-10-21hw/sd/sdcard: Assert if accessing an illegal groupPhilippe Mathieu-Daudé1-0/+2
2020-10-21hw/sd/sdcard: Do not attempt to erase out of range addressesPhilippe Mathieu-Daudé1-0/+7
2020-10-21hw/sd/sdcard: Reset both start/end addresses on errorPhilippe Mathieu-Daudé1-0/+2
2020-10-21hw/sd/sdcard: Do not use legal address '0' for INVALID_ADDRESSPhilippe Mathieu-Daudé1-3/+3
2020-10-21hw/sd/sdcard: Introduce the INVALID_ADDRESS definitionPhilippe Mathieu-Daudé1-5/+8