summaryrefslogtreecommitdiffstats
path: root/qemu-io.c
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé2020-07-05 13:39:53 +0200
committerPhilippe Mathieu-Daudé2020-08-21 16:22:43 +0200
commit26c5b0f4cbe19ad87d3aaba22cd1a8edc25f7ceb (patch)
tree467f3a5130d5fc374cb7a22325d1fcc95cdb2598 /qemu-io.c
parenthw/sd/pl181: Add TODO to use Fifo32 API (diff)
downloadqemu-26c5b0f4cbe19ad87d3aaba22cd1a8edc25f7ceb.tar.gz
qemu-26c5b0f4cbe19ad87d3aaba22cd1a8edc25f7ceb.tar.xz
qemu-26c5b0f4cbe19ad87d3aaba22cd1a8edc25f7ceb.zip
hw/sd/pl181: Use named GPIOs
To make the code easier to manage/review/use, rename the cardstatus[0] variable as 'card_readonly' and name the GPIO "card-read-only". Similarly with cardstatus[1], renamed as 'card_inserted' and name its GPIO "card-inserted". Adapt the users accordingly by using the qdev_init_gpio_out_named() function. Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Reviewed-by: Alistair Francis <alistair.francis@wdc.com> Acked-by: Peter Maydell <peter.maydell@linaro.org> Message-Id: <20200705204630.4133-6-f4bug@amsat.org>
Diffstat (limited to 'qemu-io.c')
0 files changed, 0 insertions, 0 deletions