• J
    8250: add a UPIO_DWAPB32 for 32 bit accesses · a3ae0fc3
    Jamie Iles 提交于
    Some platforms contain a Synopsys DesignWare APB UART that is attached
    to a 32-bit APB bus where sub-word accesses are not allowed. Add a new
    IO type (UPIO_DWAPB32) that performs 32 bit acccesses to the UART.
    
    v2:
    	- don't test for 32 bit in the output fast path, provide a
    	  separate dwabp32_serial_out() function. Refactor
    	  dwabp_serial_out() so that we can reuse the LCR saving
    	  code.
    v3:
    	- rebased on top of "8250: use container_of() instead of
    	  casting"
    Signed-off-by: NJamie Iles <jamie@jamieiles.com>
    Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
    a3ae0fc3
serial_core.c 63.5 KB