]> git.proxmox.com Git - qemu.git/commit - hw/usb-musb.c
usb-musb: convert fifo to 8bit and add more registers
authorRiku Voipio <riku.voipio@nokia.com>
Thu, 3 Dec 2009 13:56:08 +0000 (15:56 +0200)
committerAurelien Jarno <aurelien@aurel32.net>
Fri, 18 Dec 2009 22:23:56 +0000 (23:23 +0100)
commit384dce1eded17cb0413b473d0d0bee993f254045
tree232bfae4da5d7d8f5424573ac17e7341f43b3ac4
parent109ac32fb510c30ec64557179fd491435a0f1598
usb-musb: convert fifo to 8bit and add more registers

Convert musb fifo to 8bit to allow 8/16/32bit access

MUSB allows reading and writing to the fifo in 32/16/8 bit
width. The Linux kernel does this sometimes, most usually at
the end of writing the packet to allow packet to end at a
odd bytecount.

Convert the fifo to 8bit allows removing lots of shifts
which shows that the fifo is more natural as 8bit.

While at it, add multiple missing register definitions and
and cleanup debug prints.

Signed-off-by: Riku Voipio <riku.voipio@nokia.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
hw/usb-musb.c