char: cadence_uart: Split state struct and type into header
commit8ae57b2fa35dae9aa4b50db5e632156eded9bec0
authorPeter Crosthwaite <peter.crosthwaite@xilinx.com>
Fri, 15 May 2015 02:23:18 +0000 (14 19:23 -0700)
committerPeter Maydell <peter.maydell@linaro.org>
Mon, 18 May 2015 15:41:12 +0000 (18 16:41 +0100)
tree8e565bc7b211916de26affc16094d89230aa24bc
parente86da3cb40d6f70ce99d8e64952c49df8ad78848
char: cadence_uart: Split state struct and type into header

Create a new header for Cadence UART to allow using the device with
modern SoC programming conventions. The state struct needs to be
visible to embed the device in SoC containers.

Reviewed-by: Alistair Francis <alistair.francis@xilinx.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
Tested-by: Alistair Francis <alistair.francis@xilinx.com>
Signed-off-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com>
Message-id: 46a0fbd45b6b205f54c4a8c778deb75c77f8abdf.1431381507.git.peter.crosthwaite@xilinx.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/char/cadence_uart.c
include/hw/char/cadence_uart.h [new file with mode: 0644]