Re: [U-Boot] [PATCH] mmc: fix eMMC v5.1 incorrect version detection

2018-02-20 Thread Alexander Kochetkov
> 20 февр. 2018 г., в 13:02, Jaehoon Chung написал(а): > >> Also the patch fix mmc_versions array bounds check. Value 8 >> produced out of array access. > > It was already fixed. > > http://git.denx.de/?p=u-boot/u-boot-mmc.git;a=commit;h=ace1bed327411cf3cade45599864df2d461045a0 > > Best Rega

Re: [U-Boot] [PATCH] mmc: fix eMMC v5.1 incorrect version detection

2018-02-20 Thread Jaehoon Chung
Hi, On 02/20/2018 06:29 PM, Alexander Kochetkov wrote: > eMMC cards v5.1 has value 8 inside EXT_CSD_REV register. > The patch make EXT_CSD_REV value 8 match v5.1 > > The is a hole inside version enumeration. EXT_CSD_REV value 4 > doens't correspond to any valid eMMC version. So EXT_CSD_REV > valu

[U-Boot] [PATCH] mmc: fix eMMC v5.1 incorrect version detection

2018-02-20 Thread Alexander Kochetkov
eMMC cards v5.1 has value 8 inside EXT_CSD_REV register. The patch make EXT_CSD_REV value 8 match v5.1 The is a hole inside version enumeration. EXT_CSD_REV value 4 doens't correspond to any valid eMMC version. So EXT_CSD_REV value 4 assigned undefined version. Also the patch fix mmc_versions arr