MLK-10968: mxc: sim: Add the init delay detection function in the driver.
authorLuwei Zhou <b45643@freescale.com>
Mon, 25 May 2015 07:16:34 +0000 (15:16 +0800)
committerNitin Garg <nitin.garg@nxp.com>
Mon, 19 Mar 2018 19:47:26 +0000 (14:47 -0500)
commit3f6312979816ca066c24967c95c2d827d2036f9c
tree3e5d84188fff63a0bef78ba1c03a0344063f3630
parent88509ad678b5d4108c120fe13a7ab247efa66f61
MLK-10968: mxc: sim: Add the init delay detection function in the driver.

In EMV4.3 after warm/cold reset, there would be a receiving window. The receiving
window would be 42000 clock length.If the receiving window expires without receiving
one byte, IFD need to take actions as EMV4.3 spec. The driver need to support this
to identify the sequence of the receiving window expiring event and the receiving event.
Since theinterrupt latency in linux OS is not certain, we need to tune this setting to
pass the cases. Current tuning parameter can work.

Signed-off-by: Luwei Zhou <b45643@freescale.com>
(cherry picked from faf1d8d881a6ad2c6b88fdf312cef142996937c1)
drivers/mxc/sim/imx_sim.c