tty/serial: earlycon: Fix print for implied MMIO case
authorKumar Gala <galak@codeaurora.org>
Fri, 17 Oct 2014 09:01:11 +0000 (04:01 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 6 Nov 2014 03:45:52 +0000 (19:45 -0800)
commitfe655de1718e063bd0b1c7a4305b8eea54d199d9
treee4166efe78b768c8f9f1857a7930acd4c6e177d4
parent28e1445c650035668514df6f446c81f89990ac52
tty/serial: earlycon: Fix print for implied MMIO case

For the case in which we just provide an address as an argument to the
earlycon console type like:

earlycon=msm_serial_dm,0xf991e000

We would report this as an IO port based mapping and not as MMIO.  Simple
fix to use the port->iotype to decide which message to print.

Signed-off-by: Kumar Gala <galak@codeaurora.org>
Acked-by: Mark RUtland <mark.rutland@arm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/earlycon.c