]> git.ipfire.org Git - thirdparty/qemu.git/commit
hw/sd/sdcard: Generate random RCA value
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Mon, 17 Jun 2024 15:57:54 +0000 (17:57 +0200)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Fri, 5 Jul 2024 21:50:12 +0000 (23:50 +0200)
commit6d0dc86070d6b65caaf2c96d7254ead5fc519203
treef56353c8b8d0b9b8b11ed6792f7e3748b847cb1d
parent3baae281501f6eea879bff2200ca15ee2ff637be
hw/sd/sdcard: Generate random RCA value

Rather than using the obscure 0x4567 magic value,
use a real random one.

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>
Tested-by: Andrew Jeffery <andrew@codeconstruct.com.au>
Message-Id: <20240702140842.54242-5-philmd@linaro.org>
hw/sd/sd.c
hw/sd/trace-events