OSDN Git Service

sdcard: simplify SD_SEND_OP_COND (ACMD41)
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>
Thu, 22 Feb 2018 15:12:54 +0000 (15:12 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 22 Feb 2018 15:12:54 +0000 (15:12 +0000)
commit4e5cc6756586e967993187657dfcdde4e00288d9
treea5bb6fd80dfb8d08ef462c02349c67a7ce354c52
parentad0ade55479490fa57ffa31d50fb355e0084c61b
sdcard: simplify SD_SEND_OP_COND (ACMD41)

replace switch(single case) -> if()

Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Alistair Francis <alistair.francis@xilinx.com>
Message-id: 20180215221325.7611-17-f4bug@amsat.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/sd/sd.c