[U-Boot] [PATCH 1/4] mmc: Fix handling of bus widths and DDR card capabilities

2014-12-01 Thread Andrew Gabbasov
If the MMC_MODE_DDR_52MHz flag is set in card capabilities bitmask, it is never cleared, even if switching to DDR mode fails, and if the controller driver uses this flag to check the DDR mode, it can take incorrect actions. Also, DDR related checks in mmc_startup() incorrectly handle the case when

Re: [U-Boot] [PATCH 1/4] mmc: Fix handling of bus widths and DDR card capabilities

2014-12-12 Thread Pantelis Antoniou
Hi Andrew, Looks good. I don’t have a DDR capable board to test, but at first glance it’s fine. > On Dec 1, 2014, at 14:59 , Andrew Gabbasov wrote: > > If the MMC_MODE_DDR_52MHz flag is set in card capabilities bitmask, > it is never cleared, even if switching to DDR mode fails, and if > the co