mmc: Use byte array for multipliers
authorSimon Glass <sjg@chromium.org>
Sat, 14 May 2016 20:02:57 +0000 (14:02 -0600)
committerSimon Glass <sjg@chromium.org>
Fri, 27 May 2016 02:50:29 +0000 (20:50 -0600)
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>
drivers/mmc/mmc.c

index 1ddeff4..b7c936c 100644 (file)
@@ -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,