hw/sd/sdcard: Use spec v3.01 by default
commit1ca19583e7a043b1414b9ecf5663384103d57a44
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Thu, 27 Jun 2024 07:03:33 +0000 (27 09:03 +0200)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Fri, 5 Jul 2024 21:53:07 +0000 (5 23:53 +0200)
tree48207ecbbbbc86458e1dbecf0fce633bf7eb1bd7
parenta5487ddba583ea68f50cd871c0a8fcdff18aaf4e
hw/sd/sdcard: Use spec v3.01 by default

Recent SDHCI expect cards to support the v3.01 spec
to negociate lower I/O voltage. Select it by default.

Versioned machine types with a version of 9.0 or
earlier retain the old default (spec v2.00).

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Cédric Le Goater <clg@redhat.com>
Tested-by: Andrew Jeffery <andrew@codeconstruct.com.au>
Tested-by: Cédric Le Goater <clg@redhat.com>
Message-Id: <20240703134356.85972-2-philmd@linaro.org>
hw/core/machine.c
hw/sd/sd.c