diff options
author | Paul Burton <paul.burton@imgtec.com> | 2016-05-17 07:43:26 +0100 |
---|---|---|
committer | Daniel Schwierzeck <daniel.schwierzeck@gmail.com> | 2016-05-26 01:34:13 +0200 |
commit | df8ec55d52c74a9c73df549da846f5e6c5acb5ab (patch) | |
tree | e4ae9a58079800ade3cb2e992e2c3f4d0e3494a1 /drivers/serial/serial_efi.c | |
parent | 49717b18be6760cc560767ed3a0c72ecfd3cb076 (diff) | |
download | u-boot-imx-df8ec55d52c74a9c73df549da846f5e6c5acb5ab.zip u-boot-imx-df8ec55d52c74a9c73df549da846f5e6c5acb5ab.tar.gz u-boot-imx-df8ec55d52c74a9c73df549da846f5e6c5acb5ab.tar.bz2 |
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>
Diffstat (limited to 'drivers/serial/serial_efi.c')
0 files changed, 0 insertions, 0 deletions