10 May, 2017
1 commit
-
Fix division by zero in sprintf_speed() when not even
a single mmc write has happened, and "mmc info" is
invoked.This causes division-by-zero error because total_time
in write statistic is still 0.Fixes: 7a0a68ac5b5b ("cmd: mmc: make command "mmc info" show the statistics")
Signed-off-by: Sekhar Nori
21 Apr, 2017
1 commit
-
display the current tranfers statistics along with ther mmc information.
Signed-off-by: Jean-Jacques Hiblot
01 Dec, 2016
1 commit
-
Add new command that provides possibility to enable the
background operations handshake functionality
(BKOPS_EN, EXT_CSD byte [163]) on eMMC devices.This is an optional feature of eMMCs, the setting is write-once.
The command must be explicitly taken into use with
CONFIG_CMD_BKOPS_ENABLE.Signed-off-by: Tomas Melin
27 May, 2016
1 commit
-
All boards that use MMC define CONFIG_GENERIC_MMC now, so we can drop this
old code.Signed-off-by: Simon Glass
17 May, 2016
3 commits
-
At present the MMC subsystem maintains its own list of MMC devices. This
cannot work with driver model, which needs to maintain this itself. Move the
list code into a separate 'legacy' file. The core MMC code remains, and will
be shared with the driver-model implementation.Signed-off-by: Simon Glass
-
Avoid calling directly into the MMC code - use the new API call instead.
Signed-off-by: Simon Glass
-
This function is implemented by the legacy block functions now. Drop it.
Signed-off-by: Simon Glass
06 May, 2016
1 commit
-
Since we do not build any board with CONFIG_SUPPORT_EMMC_RPMB , this
piece of code evaded conversion. Fix the following compiler error:cmd/mmc.c: In function 'do_mmcrpmb':
cmd/mmc.c:316:32: error: 'struct blk_desc' has no member named 'part_num'
original_part = mmc->block_dev.part_num;
^Signed-off-by: Marek Vasut
Cc: Pantelis Antoniou
Cc: Tom Rini
02 Apr, 2016
1 commit
-
Call blk_dread, blk_dwrite, blk_derase to ensure that the block cache is
used if enabled and to remove build breakage when CONFIG_BLK is enabled.Signed-off-by: Eric Nelson
Reviewed-by: Tom Rini
15 Mar, 2016
2 commits
-
Rename three partition functions so that they start with part_. This makes
it clear what they relate to.Signed-off-by: Simon Glass
Tested-by: Stephen Warren -
Use 'struct' instead of a typdef. Also since 'struct block_dev_desc' is long
and causes 80-column violations, rename it to struct blk_desc.Signed-off-by: Simon Glass
Reviewed-by: Bin Meng
Tested-by: Stephen Warren
25 Jan, 2016
1 commit
-
Now that they are in their own directory, we can remove this prefix.
This makes it easier to find a file since the prefix does not get in the
way.Signed-off-by: Simon Glass
Reviewed-by: Bin Meng
Reviewed-by: Heiko Schocher
Acked-by: Stefan Roese
Acked-by: Przemyslaw Marczak