OSDN Git Service

sdhci: use a numeric value for the default CAPAB register
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>
Thu, 8 Feb 2018 16:47:56 +0000 (13:47 -0300)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 13 Feb 2018 15:15:07 +0000 (16:15 +0100)
commitaa164fbff3fef9e2815d5782dd063a3d32153af6
tree96e33f0e9906af372714643d8f8954d40cfb5324
parentaceb5b064cbc44443c257e88364740e9db11549c
sdhci: use a numeric value for the default CAPAB register

using many #defines is not portable when scaling to different HCI.

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