lsi: return dfifo value
Code was assigning DFIFO, but didn't return the value to users. Signed-off-by: Sven Schnelle <svens@stackframe.org> Message-Id: <20190305195519.24303-6-svens@stackframe.org>
This commit is contained in:
parent
82cf2bcfe6
commit
07163c99a9
@ -1688,7 +1688,7 @@ static uint8_t lsi_reg_readb(LSIState *s, int offset)
|
||||
break;
|
||||
CASE_GET_REG32(temp, 0x1c)
|
||||
case 0x20: /* DFIFO */
|
||||
ret = 0;
|
||||
ret = s->dfifo;
|
||||
break;
|
||||
case 0x21: /* CTEST4 */
|
||||
ret = s->ctest4;
|
||||
|
Loading…
Reference in New Issue
Block a user