MLK-22210 mxc: emvsim: enable ICM mode
Once detected a valid TS, the ICM bit is cleared and the data format bit, IC bit , is set to appropriate value depending on the data format detected using the initial character. When TS is 0x3B (direct convention) in cold reset, and then become 0x3F (inverse convention) in warm reset, it will not in ICM mode. Signed-off-by: Joakim Zhang <qiangqing.zhang@nxp.com> Acked-by: Fugang Duan <fugang.duan@nxp.com>5.4-rM2-2.2.x-imx-squashed
parent
557037b6bd
commit
c79402071a
|
@ -411,6 +411,7 @@ static void emvsim_receive_atr_set(struct emvsim_t *emvsim)
|
|||
__raw_writel(ATR_MAX_CWT, emvsim->ioaddr + EMV_SIM_CWT_VAL);
|
||||
|
||||
reg_data = __raw_readl(emvsim->ioaddr + EMV_SIM_CTRL);
|
||||
reg_data |= ICM;
|
||||
reg_data |= CWT_EN;
|
||||
__raw_writel(reg_data, emvsim->ioaddr + EMV_SIM_CTRL);
|
||||
|
||||
|
|
Loading…
Reference in New Issue