diff options
| author | Cédric Le Goater <clg@kaod.org> | 2020-09-01 14:21:51 +0200 |
|---|---|---|
| committer | Cédric Le Goater <clg@kaod.org> | 2020-09-01 14:21:51 +0200 |
| commit | 9951133e467e1936180263907d51ef42237c7851 (patch) | |
| tree | df252418a3d39367456d72928d28b5655610fcc7 /util/qemu-timer.c | |
| parent | 57de884d551dda5b58548168e6a88f428dd59524 (diff) | |
| download | focaccia-qemu-9951133e467e1936180263907d51ef42237c7851.tar.gz focaccia-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 'util/qemu-timer.c')
0 files changed, 0 insertions, 0 deletions