Home
last modified time | relevance | path

Searched hist:df8ec55d52c74a9c73df549da846f5e6c5acb5ab (Results 1 – 1 of 1) sorted by relevance

/rk3399_rockchip-uboot/drivers/serial/
H A Dns16550.cdf8ec55d52c74a9c73df549da846f5e6c5acb5ab Tue May 17 06:43:26 UTC 2016 Paul Burton <paul.burton@imgtec.com> dm: ns16550: Don't map_physmem for I/O ports

If the UART is to be accessed using I/O port accessors (inb & outb) then
using map_physmem doesn't make sense, since it operates in a different
memory space. Remove the call to map_physmem when
CONFIG_SYS_NS16550_PORT_MAPPED is defined, allowing I/O port addresses
to not be mangled by the incorrect mapping.

Signed-off-by: Paul Burton <paul.burton@imgtec.com>
Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>