diff options
author | Simon Glass <sjg@chromium.org> | 2016-05-14 20:02:57 (GMT) |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2016-05-27 02:50:29 (GMT) |
commit | 61fe076f0fceaa00bcbb8901504aedf1d1096293 (patch) | |
tree | 4f47af742bcbdd7c5bc87eb4e4c8db9d109b727b | |
parent | 9cf7b1a74c8c17145e39d34893cce763e098efd2 (diff) | |
download | u-boot-61fe076f0fceaa00bcbb8901504aedf1d1096293.tar.xz |
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>
-rw-r--r-- | drivers/mmc/mmc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mmc/mmc.c b/drivers/mmc/mmc.c index 1ddeff4..b7c936c 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, |