qemu/hw
Philippe Mathieu-Daudé f6fb1f9b31 sdcard: Correct CRC16 offset in sd_function_switch()
Per the Physical Layer Simplified Spec. "4.3.10.4 Switch Function Status":

  The block length is predefined to 512 bits

and "4.10.2 SD Status":

  The SD Status contains status bits that are related to the SD Memory Card
  proprietary features and may be used for future application-specific usage.
  The size of the SD Status is one data block of 512 bit. The content of this
  register is transmitted to the Host over the DAT bus along with a 16-bit CRC.

Thus the 16-bit CRC goes at offset 64.

Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-id: 20180509060104.4458-3-f4bug@amsat.org
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
2018-05-15 14:58:44 +01:00
..
9pfs
acpi
adc
alpha hw/alpha/dp264: Use the TYPE_SMC37C669_SUPERIO 2018-03-12 16:12:49 +01:00
arm make sure that we aren't overwriting mc->get_hotplug_handler by accident 2018-05-10 18:10:56 +01:00
audio
block
bt
char hw/char/cmsdk-apb-uart.c: Accept more input after character read 2018-05-04 18:05:50 +01:00
core -----BEGIN PGP SIGNATURE----- 2018-05-14 14:15:27 +01:00
cpu
cris
display qxl: fix local renderer crash 2018-05-07 11:47:57 +02:00
dma
gpio
hppa
i2c
i386 * Don't silently truncate extremely long words in the command line 2018-05-14 09:55:09 +01:00
ide
input ps2: Fix mouse stream corruption due to lost data 2018-05-15 11:31:33 +02:00
intc
ipack
ipmi qapi: Empty out qapi-schema.json 2018-03-02 13:45:50 -06:00
isa
lm32
m68k
mem pc-dimm: fix error messages if no slots were defined 2018-05-11 14:33:40 +02:00
microblaze
mips
misc mac_newworld: move wiring of macio IRQs to macio_newworld_realize() 2018-05-04 15:00:37 +10:00
moxie
net hw/net/smc91c111: Convert away from old_mmio 2018-05-04 18:05:50 +01:00
nios2
nvram
openrisc
pci
pci-bridge
pci-host uninorth: create new uninorth device 2018-05-04 15:00:37 +10:00
pcmcia
ppc make sure that we aren't overwriting mc->get_hotplug_handler by accident 2018-05-10 18:10:56 +01:00
rdma hw/rdma: Fix possible out of bounds access to port GID index 2018-05-03 20:52:29 +03:00
riscv RISC-V: QEMU 2.13 Minor Fixes 2018-05-10 10:25:15 +01:00
s390x s390x: refactor reset/reipl handling 2018-05-14 17:10:02 +02:00
scsi
sd sdcard: Correct CRC16 offset in sd_function_switch() 2018-05-15 14:58:44 +01:00
sh4
smbios Move include qemu/option.h from qemu-common.h to actual users 2018-02-09 13:52:16 +01:00
sparc
sparc64
ssi
timer
tpm
tricore
unicore32
usb usb: fixes for mtp and host. 2018-05-08 12:02:18 +01:00
vfio
virtio
watchdog qapi: Empty out qapi-schema.json 2018-03-02 13:45:50 -06:00
xen
xenpv
xtensa
Makefile.objs