aboutsummaryrefslogtreecommitdiff
path: root/disas.c
diff options
context:
space:
mode:
authorJoe Komlodi <komlodi@google.com>2022-06-13 14:05:48 +0200
committerCédric Le Goater <clg@kaod.org>2022-06-22 09:49:34 +0200
commit2260fc6ff3ff384bf384118a9be7aa6bec43b45b (patch)
tree04db9072b015e1e7597ccfe18323cb3e4521b440 /disas.c
parent3be3d6ccf2adbc305645d097fb364753e11edb0f (diff)
downloadqemu-2260fc6ff3ff384bf384118a9be7aa6bec43b45b.zip
qemu-2260fc6ff3ff384bf384118a9be7aa6bec43b45b.tar.gz
qemu-2260fc6ff3ff384bf384118a9be7aa6bec43b45b.tar.bz2
aspeed: i2c: Use reg array instead of individual vars
Using a register array will allow us to represent old-mode and new-mode I2C registers by using the same underlying register array, instead of adding an entire new set of variables to represent new mode. As part of this, we also do additional cleanup to use ARRAY_FIELD_ macros instead of FIELD_ macros on registers. Signed-off-by: Joe Komlodi <komlodi@google.com> Change-Id: Ib94996b17c361b8490c042b43c99d8abc69332e3 [ clg: use of memset in aspeed_i2c_bus_reset() ] Message-Id: <20220331043248.2237838-5-komlodi@google.com> Signed-off-by: Cédric Le Goater <clg@kaod.org>
Diffstat (limited to 'disas.c')
0 files changed, 0 insertions, 0 deletions