|
@@ -98,7 +98,7 @@ static int __init parse_options(struct earlycon_device *device,
|
|
strlcpy(device->options, options, length);
|
|
strlcpy(device->options, options, length);
|
|
}
|
|
}
|
|
|
|
|
|
- if (mmio || mmio32)
|
|
|
|
|
|
+ if (port->iotype == UPIO_MEM || port->iotype == UPIO_MEM32)
|
|
pr_info("Early serial console at MMIO%s 0x%llx (options '%s')\n",
|
|
pr_info("Early serial console at MMIO%s 0x%llx (options '%s')\n",
|
|
mmio32 ? "32" : "",
|
|
mmio32 ? "32" : "",
|
|
(unsigned long long)port->mapbase,
|
|
(unsigned long long)port->mapbase,
|