projects
/
kernel
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
badd700
)
mmc: bug fixed about boot config
author
Jaehoon Chung
<jh80.chung@samsung.com>
Wed, 18 Aug 2010 07:41:20 +0000
(16:41 +0900)
committer
Jaehoon Chung
<jh80.chung@samsung.com>
Wed, 18 Aug 2010 07:41:20 +0000
(16:41 +0900)
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
drivers/mmc/mmc.c
patch
|
blob
|
history
diff --git
a/drivers/mmc/mmc.c
b/drivers/mmc/mmc.c
index
e976550
..
4b9a75a
100644
(file)
--- a/
drivers/mmc/mmc.c
+++ b/
drivers/mmc/mmc.c
@@
-424,6
+424,10
@@
int mmc_change_freq(struct mmc *mmc)
if (err)
return err;
+ /* set previous value to mmc->boot_config */
+ if (!mmc->boot_config)
+ mmc->boot_config = ext_csd[179];
+
/* partition configuration */
err = mmc_switch(mmc, EXT_CSD_CMD_SET_NORMAL,
EXT_CSD_BOOT_CONFIG, mmc->boot_config);