Skip to content
Snippets Groups Projects
Commit bc897b1d authored by Lei Wen's avatar Lei Wen Committed by Andy Fleming
Browse files

mmc: enable partition switch function for emmc


For emmc, it may have up to 7 partitions: two boot partitions, one
user partition, one RPMB partition and four general purpose partitions.
(Refer to JESD84-A44.pdf/page 154)

As bootloader may need to read out or reflashing images on those

different partitions, it is better to enable the partition switch with
console command support.

Also for partition would be restore to user partition(part 0) when CMD0
is used, so change mmc_init routine to perform normal initialization
only once for each slot, unless use the rescan command to force init
again.

Signed-off-by: default avatarLei Wen <leiwen@marvell.com>
Acked-by: default avatarAndy Fleming <afleming@freescale.com>
parent ea6ebe21
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment