Home
last modified time | relevance | path

Searched hist:bc897b1d4d86597311430dbe7b3e6c807c8c53e5 (Results 1 – 2 of 2) sorted by relevance

/rk3399_rockchip-uboot/drivers/mmc/
H A Dmmc.c9cf199ebcff13f8d98b31ab48e3bcce37ed8925d Tue Dec 23 09:50:28 UTC 2014 Diego Santa Cruz <Diego.SantaCruz@spinetix.com> mmc: the ext_csd data may be used during init even if reading failed

The mmc_startup() function uses the ext_csd data even if reading it
from the mmc device failed. This bug was introduced in commit
bc897b1d4d86597311430dbe7b3e6c807c8c53e5. We now bail out if
reading it fails, this should not be a problem as ext_csd was
introduced in MMC 4.0 and this code is conditional on MMC >= 4.0.

Signed-off-by: Diego Santa Cruz <Diego.SantaCruz@spinetix.com>
bc897b1d4d86597311430dbe7b3e6c807c8c53e5 Mon May 02 16:26:26 UTC 2011 Lei Wen <leiwen@marvell.com> 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>
/rk3399_rockchip-uboot/include/
H A Dmmc.hbc897b1d4d86597311430dbe7b3e6c807c8c53e5 Mon May 02 16:26:26 UTC 2011 Lei Wen <leiwen@marvell.com> 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>