[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-commits] [qemu/qemu] 973a50: hw/sd/sdcard: Rename Write Protect Gr
From: |
Richard Henderson |
Subject: |
[Qemu-commits] [qemu/qemu] 973a50: hw/sd/sdcard: Rename Write Protect Group variables |
Date: |
Tue, 04 Jan 2022 10:02:13 -0800 |
Branch: refs/heads/staging
Home: https://github.com/qemu/qemu
Commit: 973a501b8e323cc77bd244bc02f4d94475445da3
https://github.com/qemu/qemu/commit/973a501b8e323cc77bd244bc02f4d94475445da3
Author: Philippe Mathieu-Daudé <f4bug@amsat.org>
Date: 2022-01-04 (Tue, 04 Jan 2022)
Changed paths:
M hw/sd/sd.c
Log Message:
-----------
hw/sd/sdcard: Rename Write Protect Group variables
'wp_groups' holds a bitmap, rename it as 'wp_group_bmap'.
'wpgrps_size' is the bitmap size (in bits), rename it as
'wp_group_bits'.
Patch created mechanically using:
$ sed -i -e s/wp_groups/wp_group_bmap/ \
-e s/wpgrps_size/wp_group_bits/ hw/sd/sd.c
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20210728181728.2012952-4-f4bug@amsat.org>
Reviewed-by: Alexander Bulekov <alxndr@bu.edu>
Commit: d666c7b529c503381a714b97d2e174848b5aad8d
https://github.com/qemu/qemu/commit/d666c7b529c503381a714b97d2e174848b5aad8d
Author: Frank Chang <frank.chang@sifive.com>
Date: 2022-01-04 (Tue, 04 Jan 2022)
Changed paths:
M hw/sd/sd.c
Log Message:
-----------
hw/sd: Add SDHC support for SD card SPI-mode
In SPI-mode, SD card's OCR register: Card Capacity Status (CCS) bit
is not set to 1 correclty when the assigned SD image size is larger
than 2GB (SDHC). This will cause the SD card to be indentified as SDSC
incorrectly. CCS bit should be set to 1 if we are using SDHC.
Also, as there's no power up emulation in SPI-mode.
The OCR register: Card power up status bit bit (busy) should also
be set to 1 when reset. (busy bit is set to LOW if the card has not
finished the power up routine.)
Signed-off-by: Frank Chang <frank.chang@sifive.com>
Reviewed-by: Jim Shu <jim.shu@sifive.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20211228125719.14712-1-frank.chang@sifive.com>
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Commit: 1407ecba265ca312f2d7168ea66cd8ecf8cadd18
https://github.com/qemu/qemu/commit/1407ecba265ca312f2d7168ea66cd8ecf8cadd18
Author: Richard Henderson <richard.henderson@linaro.org>
Date: 2022-01-04 (Tue, 04 Jan 2022)
Changed paths:
M hw/sd/sd.c
Log Message:
-----------
Merge tag 'sdmmc-20220104' of https://github.com/philmd/qemu into staging
SD/MMC patches queue
- Add SDHC support for SD card SPI-mode (Frank Chang)
# gpg: Signature made Mon 03 Jan 2022 11:53:39 PM PST
# gpg: using RSA key FAABE75E12917221DCFD6BB2E3E32C2CDEADC0DE
# gpg: Good signature from "Philippe Mathieu-Daudé (F4BUG) <f4bug@amsat.org>"
[full]
* tag 'sdmmc-20220104' of https://github.com/philmd/qemu:
hw/sd: Add SDHC support for SD card SPI-mode
hw/sd/sdcard: Rename Write Protect Group variables
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Compare: https://github.com/qemu/qemu/compare/67e41fe0cfb6...1407ecba265c
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Qemu-commits] [qemu/qemu] 973a50: hw/sd/sdcard: Rename Write Protect Group variables,
Richard Henderson <=