projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9cf7b1a
)
mmc: Use byte array for multipliers
author
Simon Glass
<sjg@chromium.org>
Sat, 14 May 2016 20:02:57 +0000
(14:02 -0600)
committer
Simon 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
patch
|
blob
|
history
diff --git
a/drivers/mmc/mmc.c
b/drivers/mmc/mmc.c
index 1ddeff4ace7b304535c148fb22c9dfe9bd9689ff..b7c936c72020a23241dc2269cf4d06bb1e229de6 100644
(file)
--- 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,