Cédric Le Goater 9951133e46 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>
2020-09-01 14:21:51 +02:00
..
2020-08-21 06:30:29 -04:00
2020-08-27 14:04:55 -04:00
2020-08-21 06:30:29 -04:00