> Date: Wed, 17 Aug 2016 15:36:21 +0200
> From: Marcus Glocker <[email protected]>
>
> Enables FIFO for Synopsis DesignWare APB UART.
>
> ok?
Apparently the FIFO is optional. There is a register that tells you
whether it is enabled or not. Not sure we'll ever encounter an
implementation that has that option turned off. But we probably
should check to be sure.
> Index: arch/armv7/dev/com_fdt.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/armv7/dev/com_fdt.c,v
> retrieving revision 1.5
> diff -u -p -r1.5 com_fdt.c
> --- arch/armv7/dev/com_fdt.c 17 Aug 2016 13:26:40 -0000 1.5
> +++ arch/armv7/dev/com_fdt.c 17 Aug 2016 13:32:12 -0000
> @@ -135,7 +135,7 @@ com_fdt_attach(struct device *parent, st
> sc->sc.sc_uarttype = COM_UART_TI16750;
>
> if (OF_is_compatible(faa->fa_node, "snps,dw-apb-uart")) {
> - sc->sc.sc_uarttype = COM_UART_16550;
> + sc->sc.sc_uarttype = COM_UART_16550A;
> intr = com_fdt_intr_designware;
> }
>
>
>