hw: fix mask for ColdFire UART command register
commit491ffc1f7ce857b88e9d310ce901ce033e45b75d
authorPaolo Bonzini <pbonzini@redhat.com>
Wed, 24 Jun 2015 11:55:51 +0000 (24 13:55 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 14 Aug 2015 21:40:32 +0000 (14 23:40 +0200)
treef008453be0e548f282b3928c71f279125cbc161d
parentfa0d653b06cec7b3188a733dc7394e030948018e
hw: fix mask for ColdFire UART command register

The "miscellaneous commands" part of the register is 3 bits wide.
Spotted by Coverity and confirmed in the datasheet, downloadable from
http://cache.freescale.com/files/32bit/doc/ref_manual/MCF5307BUM.pdf
(figure 14-6).

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
hw/char/mcf_uart.c