[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 0/7] hw/sd/sd: Introduce sd_cmd_to_receivingdata() / sd_generic_w
From: |
Philippe Mathieu-Daudé |
Subject: |
[PATCH 0/7] hw/sd/sd: Introduce sd_cmd_to_receivingdata() / sd_generic_write_byte() |
Date: |
Tue, 25 Jun 2024 09:34:34 +0200 |
Consolitate writing bytes on the DAT lines by introducing
a pair of helpers to reuse in all commands receiving data.
Based-on: <20240625061015.24095-1-philmd@linaro.org>
Philippe Mathieu-Daudé (7):
hw/sd/sdcard: Introduce sd_cmd_to_receivingdata /
sd_generic_write_byte
hw/sd/sdcard: Duplicate WRITE_SINGLE_BLOCK / WRITE_MULTIPLE_BLOCK
cases
hw/sd/sdcard: Convert WRITE_SINGLE_BLOCK to generic_write_byte (CMD24)
hw/sd/sdcard: Convert PROGRAM_CID to generic_write_byte (CMD26)
hw/sd/sdcard: Convert PROGRAM_CSD to generic_write_byte (CMD27)
hw/sd/sdcard: Convert LOCK_UNLOCK to generic_write_byte (CMD42)
hw/sd/sdcard: Convert GEN_CMD to generic_write_byte (CMD56)
hw/sd/sd.c | 108 ++++++++++++++++++++++++++++++-----------------------
1 file changed, 61 insertions(+), 47 deletions(-)
--
2.41.0
- [PATCH 0/7] hw/sd/sd: Introduce sd_cmd_to_receivingdata() / sd_generic_write_byte(),
Philippe Mathieu-Daudé <=
- [PATCH 1/7] hw/sd/sdcard: Introduce sd_cmd_to_receivingdata / sd_generic_write_byte, Philippe Mathieu-Daudé, 2024/06/25
- [PATCH 2/7] hw/sd/sdcard: Duplicate WRITE_SINGLE_BLOCK / WRITE_MULTIPLE_BLOCK cases, Philippe Mathieu-Daudé, 2024/06/25
- [PATCH 3/7] hw/sd/sdcard: Convert WRITE_SINGLE_BLOCK to generic_write_byte (CMD24), Philippe Mathieu-Daudé, 2024/06/25
- [PATCH 4/7] hw/sd/sdcard: Convert PROGRAM_CID to generic_write_byte (CMD26), Philippe Mathieu-Daudé, 2024/06/25
- [PATCH 5/7] hw/sd/sdcard: Convert PROGRAM_CSD to generic_write_byte (CMD27), Philippe Mathieu-Daudé, 2024/06/25
- [PATCH 6/7] hw/sd/sdcard: Convert LOCK_UNLOCK to generic_write_byte (CMD42), Philippe Mathieu-Daudé, 2024/06/25
- [PATCH 7/7] hw/sd/sdcard: Convert GEN_CMD to generic_write_byte (CMD56), Philippe Mathieu-Daudé, 2024/06/25