diff options
author | 2020-09-01 14:21:51 +0200 | |
---|---|---|
committer | 2020-09-01 14:21:51 +0200 | |
commit | 9951133e467e1936180263907d51ef42237c7851 (patch) | |
tree | df252418a3d39367456d72928d28b5655610fcc7 /hw/avr/arduino.c | |
parent | aspeed/sdmc: Allow writes to unprotected registers (diff) | |
download | qemu-9951133e467e1936180263907d51ef42237c7851.tar.xz qemu-9951133e467e1936180263907d51ef42237c7851.zip |
aspeed/sdmc: Simplify calculation of RAM bits
Changes in commit 533eb415df2e ("arm/aspeed: actually check RAM size")
introduced a 'valid_ram_sizes' array which can be used to compute the
associated bit field value encoding the RAM size. The field is simply
the index of the array.
Reviewed-by: Joel Stanley <joel@jms.id.au>
Message-Id: <20200819100956.2216690-19-clg@kaod.org>
Signed-off-by: Cédric Le Goater <clg@kaod.org>
Diffstat (limited to 'hw/avr/arduino.c')
0 files changed, 0 insertions, 0 deletions