prsdk-7487: icssg f/w: use the correct spinlocks to report EOF to RTU
authorVitaly Andrianov <vitalya@ti.com>
Tue, 26 Nov 2019 12:18:20 +0000 (07:18 -0500)
committerVitaly Andrianov <vitalya@ti.com>
Tue, 26 Nov 2019 12:18:20 +0000 (07:18 -0500)
commit9dd3d719332100a396fc346961178f5a2b13cbe9
tree221b7310204b97241ef4f2d8f463612dc96f2633
parentf7b8a1abed0d82e82704e6910f9cb2539a43683f
prsdk-7487: icssg f/w: use the correct spinlocks to report EOF to RTU

In half duplex mode we cannot report EOF in TX_FIFO handler because packet
may be resent. Instead the report has to be done in the TX_EOF handler.
The current implementation by mistake uses the wrong spinlocks for the
report. Thus it uses spinlock E for the DMA0 and spinlock P for the DMA1,
which is wrong. This commit fixes this bug.

Signed-off-by: Vitaly Andrianov <vitalya@ti.com>
packages/ti/drv/emac/firmware/icss_dualmac/src/rxl2_txl2.asm