mmc: Use byte array for multipliers

We don't need an int since no value is over 80. This saves a small amount of
SPL space (about 44 bytes).

Signed-off-by: Simon Glass <sjg@chromium.org>
master
Simon Glass 8 years ago
parent 9cf7b1a74c
commit 61fe076f0f
  1. 2
      drivers/mmc/mmc.c

@ -984,7 +984,7 @@ static const int fbase[] = {
/* Multiplier values for TRAN_SPEED. Multiplied by 10 to be nice
* to platforms without floating point.
*/
static const int multipliers[] = {
static const u8 multipliers[] = {
0, /* reserved */
10,
12,

Loading…
Cancel
Save