diff options
author | Lei Wen <leiwen@marvell.com> | 2011-05-02 16:26:26 +0000 |
---|---|---|
committer | Andy Fleming <afleming@freescale.com> | 2011-05-18 14:37:03 -0500 |
commit | bc897b1d4d86597311430dbe7b3e6c807c8c53e5 (patch) | |
tree | dc5136100f1b0a873dd8bc90708286215335f559 /drivers/mtd/ubi/upd.c | |
parent | ea6ebe21772568ee97fb5c23c01e993140f0e0e6 (diff) | |
download | u-boot-imx-bc897b1d4d86597311430dbe7b3e6c807c8c53e5.zip u-boot-imx-bc897b1d4d86597311430dbe7b3e6c807c8c53e5.tar.gz u-boot-imx-bc897b1d4d86597311430dbe7b3e6c807c8c53e5.tar.bz2 |
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: Lei Wen <leiwen@marvell.com>
Acked-by: Andy Fleming <afleming@freescale.com>
Diffstat (limited to 'drivers/mtd/ubi/upd.c')
0 files changed, 0 insertions, 0 deletions