12 Jan, 2018
5 commits
-
hc_wp_grp_size is needed only if hardware partitionning is used.
On ARM removing it saves about 30 bytes of code space.Signed-off-by: Jean-Jacques Hiblot
-
Also remove erase_grp_size and write_bl_len from struct mmc as they are
not used anymore. On ARM, removing them saves about 100 bytes of code
space in SPL.Signed-off-by: Jean-Jacques Hiblot
-
Not all boards have an eMMC and not all users have a need for this.
Allow to compile it out. By default it is still included.Signed-off-by: Jean-Jacques Hiblot
-
This is a useful information while debugging the initialization process or
performance issues.
Also dump this information with the other mmc info if the verbose option
is selectedSigned-off-by: Jean-Jacques Hiblot
-
Display the mode name when the user execute 'mmc info'. Also instead of
displaying tran_speed, display the actual bus speed.Signed-off-by: Jean-Jacques Hiblot
Reviewed-by: Simon Glass
15 Sep, 2017
1 commit
-
All these places seem to inherit the codes from the MMC driver where
a FIXME was put in the comment. However the correct operation after
read should be cache invalidate, not flush.The underlying drivers should be responsible for the cache operation.
Remove these codes completely.Signed-off-by: Bin Meng
Reviewed-by: Stefan Roese
Reviewed-by: York Sun
Reviewed-by: Joe Hershberger
Reviewed-by: Simon Glass
Tested-by: York Sun
17 Aug, 2017
1 commit
-
This patch allows to show the EXT_CSD[179] partition_config
register info, just by specifying the dev param:U-Boot> mmc partconf 0
EXT_CSD[179], PARTITION_CONFIG:
BOOT_ACK: 0x0
BOOT_PARTITION_ENABLE: 0x0
PARTITION_ACCESS: 0x0Signed-off-by: Angelo Dureghello
Signed-off-by: Anatolij Gustschin
19 Jul, 2017
1 commit
-
When CONFIG_BLK is enabled, the hwpart id is different with legacy
interface, update it to kame driver work with CONFIG_BLK.Signed-off-by: Kever Yang
Reviewed-by: Simon Glass
Signed-off-by: Jaehoon Chung
13 Apr, 2017
1 commit
-
The handler do_setdsr receives only the dsr parameter,
the action is parsed before.Error was introduced when restructuring the mmc command
implementation in commit 1fd93c6e7d8a1e4d6261058cefab11b875ded252.Reported-by: Michael Krummsdorf
Signed-off-by: Markus Niebel
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