Support byte and half-word reads
authorRiku Voipio <riku.voipio@nokia.com>
Tue, 17 Mar 2009 15:19:55 +0000 (17:19 +0200)
committerRiku Voipio <riku.voipio@nokia.com>
Tue, 17 Mar 2009 15:19:55 +0000 (17:19 +0200)
commitfad0a1567247e942d0324ab795eefbd32f399bc4
treef96009f6d8d44368473d01147d4f4b875c47a8fe
parent51c6767ed4230895d26a930f2538b9405e5e9b90
Support byte and half-word reads

This method only works for reading the last half-word/byte from the fifo.
Incidentally it's the only one that the kernel does.

Proper fix is making the fifo byte-sized and reading it 1-4bytes at a time.
hw/usb-musb.c