Re: [PATCH v2 4/6] mmc: tmio: add eMMC support

2016-09-19 Thread Wolfram Sang
> >+u16 reg = sd_ctrl_read16(host, CTL_SD_MEM_CARD_OPT) > >+& ~(CARD_OPT_WIDTH | CARD_OPT_WIDTH8); > >+ > >+/* reg now applies to MMC_BUS_WIDTH_4 */ > >+if (bus_width == MMC_BUS_WIDTH_1) > >+reg |= CARD_OPT_WIDTH; > >+else if (bus_width ==

Re: [PATCH v2 4/6] mmc: tmio: add eMMC support

2016-09-19 Thread Sergei Shtylyov
Hello. On 09/19/2016 03:49 PM, Wolfram Sang wrote: We need to add R1 without CRC support, refactor the bus width routine a little and extend a quirk check. To support "non-removable;" we need a workaround which will be hopefully removed when reworking PM soon. Signed-off-by: Wolfram Sang