diff options
author | Shawn Guo <shawn.guo@linaro.org> | 2016-09-17 06:14:38 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-09-22 09:45:08 (GMT) |
commit | e06690bff6ab642e0ab1b22e5bec532f6faf2f5d (patch) | |
tree | 3a974d3b7b1ca2b5009d9b4c8f36713a01c9fa45 /arch/xtensa/Makefile | |
parent | 1664bc40d31403a755fe88307410ed858fe2c6c9 (diff) | |
download | linux-e06690bff6ab642e0ab1b22e5bec532f6faf2f5d.tar.xz |
tty: amba-pl011: uart_amba_port is not available with earlycon function
Commit 0e125a5facf8 ("tty: amba-pl011: define flag register bits for ZTE
device") changes earlycon function pl011_putc() to use a pointer to
uart_amba_port. This causes a regression when earlycon is enabled,
because uart_amba_port is not available yet at earlycon time. Let's
revert the change on pl011_putc() to fix the regression.
The earlycon support for ZTE device can probably be added later by
declaring a new earlycon setup function with a vendor specific
compatible.
Reported-by: Sudeep Holla <sudeep.holla@arm.com>
Fixes: 0e125a5facf8 ("tty: amba-pl011: define flag register bits for ZTE device")
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Tested-by: Sudeep Holla <sudeep.holla@arm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch/xtensa/Makefile')
0 files changed, 0 insertions, 0 deletions