drtio: remove obsolete CSR accesses from test

This commit is contained in:
Sebastien Bourdeauducq 2017-03-27 16:44:22 +08:00
parent b74d6fb9ba
commit ea3af1e20e

View File

@ -123,10 +123,8 @@ class TestFullStack(unittest.TestCase):
while status: while status:
status = yield from kcsrs.o_status.read() status = yield from kcsrs.o_status.read()
if status & 2: if status & 2:
yield from kcsrs.o_underflow_reset.write(1)
raise RTIOUnderflow raise RTIOUnderflow
if status & 4: if status & 4:
yield from kcsrs.o_sequence_error_reset.write(1)
raise RTIOSequenceError raise RTIOSequenceError
yield yield
wlen += 1 wlen += 1