sdhci: check the Spec v1 capabilities correctness
commit6ff37c3dfaf5859150bbd4d9669f48954101c13c
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>
Thu, 8 Feb 2018 16:47:58 +0000 (8 13:47 -0300)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 13 Feb 2018 15:15:07 +0000 (13 16:15 +0100)
tree8a813806cfa0495bebc8e2ea2fd55a81487a6d1d
parent09b738ff653665dfcc646f6293998b490ca7f54e
sdhci: check the Spec v1 capabilities correctness

Incorrect value will throw an error.

Note than Spec v2 is supported by default.

Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Alistair Francis <alistair.francis@xilinx.com>
Message-Id: <20180208164818.7961-11-f4bug@amsat.org>
hw/sd/sdhci-internal.h
hw/sd/sdhci.c
hw/sd/trace-events