[U-Boot] ARM: hisilicon: hikey: Fix eMMC with latest ATF & U-Boot

Tom Rini trini at konsulko.com
Sun Aug 20 23:29:34 UTC 2017


On Tue, Aug 15, 2017 at 05:18:16PM +0100, Peter Griffin wrote:

> ATF can leave the MMC IP in a state where U-Boot mmc driver
> can't enumerate the eMMC.
> 
> This patch provides a mmc0_reset_clk() function like we
> already so do sd card controller which resets the IP
> when entering U-Boot.
> 
> With this patch applied eMMC partitions are successfully
> enumerated again.
> 
> => mmc dev 0
> switch to partitions #0, OK
> mmc0(part 0) is current device
> => mmc part
> 
> Partition Map for MMC device 0  --   Partition Type: EFI
> 
> Part	Start LBA	End LBA		Name
> 	Attributes
> 	Type GUID
> 	Partition GUID
>   1	0x00000800	0x00000fff	"vrl"
> 	attrs:	0x0000000000000000
> 	type:	ebd0a0a2-b9e5-4433-87c0-68b6b72699c7
> 	guid:	496847ab-56a1-4cd5-a1ad-47f4acf055c9
>   2	0x00001000	0x000017ff	"vrl_backup"
> 	attrs:	0x0000000000000000
> 	type:	ebd0a0a2-b9e5-4433-87c0-68b6b72699c7
> 	guid:	61a36fc1-8efb-4899-84d8-b61642efa723
>   3	0x00001800	0x00001fff	"mcuimage"
> <snip>
> 
> Signed-off-by: Peter Griffin <peter.griffin at linaro.org>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20170820/61fb0ea1/attachment.sig>


More information about the U-Boot mailing list