From: Simon Glass Date: Sat, 14 May 2016 20:02:57 +0000 (-0600) Subject: mmc: Use byte array for multipliers X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=61fe076f0fceaa00bcbb8901504aedf1d1096293;p=u-boot.git 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 --- diff --git a/drivers/mmc/mmc.c b/drivers/mmc/mmc.c index 1ddeff4ace..b7c936c720 100644 --- a/drivers/mmc/mmc.c +++ b/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,