hw/sd: ssi-sd: Use macros for the dummy value and tokens in the transfer
commitbc1edaf2041f28d99c8ab102e14b948613080e17
authorBin Meng <bin.meng@windriver.com>
Sat, 23 Jan 2021 10:40:02 +0000 (23 18:40 +0800)
committerPhilippe Mathieu-Daudé <f4bug@amsat.org>
Sun, 24 Jan 2021 19:11:05 +0000 (24 20:11 +0100)
treeb08cdce4271cae056655ddaa3402395f480fcbf6
parent1fb85c42ca47e48dd0cfe153db85bdfc1213aedb
hw/sd: ssi-sd: Use macros for the dummy value and tokens in the transfer

At present the codes use hardcoded numbers (0xff/0xfe) for the dummy
value and block start token. Replace them with macros.

Signed-off-by: Bin Meng <bin.meng@windriver.com>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20210123104016.17485-12-bmeng.cn@gmail.com>
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
hw/sd/ssi-sd.c