summaryrefslogtreecommitdiffstats
path: root/include/hw
diff options
context:
space:
mode:
authorCédric Le Goater2021-10-12 08:20:08 +0200
committerCédric Le Goater2021-10-12 08:20:08 +0200
commit10f915e4caefeacedf092eb90bfcce56e23e102e (patch)
tree6cb29d349296843f2dda2d836889e8883c0f3506 /include/hw
parentaspeed/smc: Remove the 'size' attribute from AspeedSMCFlash (diff)
downloadqemu-10f915e4caefeacedf092eb90bfcce56e23e102e.tar.gz
qemu-10f915e4caefeacedf092eb90bfcce56e23e102e.tar.xz
qemu-10f915e4caefeacedf092eb90bfcce56e23e102e.zip
aspeed/smc: Rename AspeedSMCFlash 'id' to 'cs'
'cs' is a more appropriate name to index SPI flash devices. Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Signed-off-by: Cédric Le Goater <clg@kaod.org>
Diffstat (limited to 'include/hw')
-rw-r--r--include/hw/ssi/aspeed_smc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/hw/ssi/aspeed_smc.h b/include/hw/ssi/aspeed_smc.h
index 097bb6aaf5..40b6926b3e 100644
--- a/include/hw/ssi/aspeed_smc.h
+++ b/include/hw/ssi/aspeed_smc.h
@@ -33,7 +33,7 @@ struct AspeedSMCState;
typedef struct AspeedSMCFlash {
struct AspeedSMCState *controller;
- uint8_t id;
+ uint8_t cs;
MemoryRegion mmio;
} AspeedSMCFlash;