summaryrefslogtreecommitdiff
path: root/drivers/mmc/mmc.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2016-05-14 14:02:57 -0600
committerSimon Glass <sjg@chromium.org>2016-05-26 20:50:29 -0600
commit61fe076f0fceaa00bcbb8901504aedf1d1096293 (patch)
tree4f47af742bcbdd7c5bc87eb4e4c8db9d109b727b /drivers/mmc/mmc.c
parent9cf7b1a74c8c17145e39d34893cce763e098efd2 (diff)
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>
Diffstat (limited to 'drivers/mmc/mmc.c')
-rw-r--r--drivers/mmc/mmc.c2
1 files changed, 1 insertions, 1 deletions
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,