hw/sd/sdcard: Store command name in SDProto
commit572cdb1d9092e165d34f4ff8ab5483a97c6a99a2
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Thu, 20 Jun 2024 12:43:28 +0000 (20 14:43 +0200)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Tue, 2 Jul 2024 08:08:32 +0000 (2 10:08 +0200)
tree743654e3cf66951597bf00687b1a75c804649f30
parent4518a49a019648110a84d7decebd46a12c229a32
hw/sd/sdcard: Store command name in SDProto

We already have a const array where command handlers
are listed. Store the command name there too.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Tested-by: Cédric Le Goater <clg@redhat.com>
Reviewed-by: Cédric Le Goater <clg@redhat.com>
Message-Id: <20240628070216.92609-40-philmd@linaro.org>
hw/sd/sd.c