commit | df8ec55d52c74a9c73df549da846f5e6c5acb5ab | [log] [tgz] |
---|---|---|
author | Paul Burton <paul.burton@imgtec.com> | Tue May 17 07:43:26 2016 +0100 |
committer | Daniel Schwierzeck <daniel.schwierzeck@gmail.com> | Thu May 26 01:34:13 2016 +0200 |
tree | e4ae9a58079800ade3cb2e992e2c3f4d0e3494a1 | |
parent | 49717b18be6760cc560767ed3a0c72ecfd3cb076 [diff] |
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>