arm-trusted-firmware/plat
Masahiro Yamada ac9f1b5555 uniphier: support console based on multi-console
The legacy console is gone. Re-add the console support based on the
multi-console framework.

I am still keeping the putc, getc, and flush callbacks in
uniphier_console.S to use plat/common/aarch64/crash_console_helpers.S

The console registration code already relies on that C environment
has been set up. So, I just filled the struct console fields with the
callback pointers, then called console_register() directly. I also
re-implemented the init function in C to improve the readability.

Removing the custom crash console implementation has one disadvantage;
we cannot use the crash console on very early crashes because
crash_console_helpers.S works only after the console is registered.
I can live with this limitation.

Tested on my boards, and confirmed this worked like before.

Change-Id: Ieab9c849853ff6c525c15ea894a85944f257db59
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
2019-07-05 18:43:16 +09:00
..
allwinner Remove MULTI_CONSOLE_API flag and references to it 2019-06-28 10:52:48 +01:00
arm Merge changes from topic "av/console-port" into integration 2019-06-28 11:04:02 +00:00
common Remove MULTI_CONSOLE_API flag and references to it 2019-06-28 10:52:48 +01:00
hisilicon Remove MULTI_CONSOLE_API flag and references to it 2019-06-28 10:52:48 +01:00
imx Merge changes from topic "banned_api_list" into integration 2019-07-01 13:21:23 +00:00
intel/soc Merge changes from topic "av/console-port" into integration 2019-06-28 11:04:02 +00:00
layerscape Remove MULTI_CONSOLE_API flag and references to it 2019-06-28 10:52:48 +01:00
marvell Remove MULTI_CONSOLE_API flag and references to it 2019-06-28 10:52:48 +01:00
mediatek mediatek: mt8183: add mcsi driver 2019-06-06 11:00:16 +01:00
meson Remove MULTI_CONSOLE_API flag and references to it 2019-06-28 10:52:48 +01:00
nvidia/tegra Tegra: Fix typo in comment 2019-06-20 11:34:14 +02:00
qemu qemu: use new console interface in aarch32 2019-06-28 10:52:48 +01:00
renesas/rcar rcar_gen3: drivers: pfc: Move PFC drivers out of staging 2019-06-22 17:33:10 +02:00
rockchip Remove MULTI_CONSOLE_API flag and references to it 2019-06-28 10:52:48 +01:00
rpi3 Remove MULTI_CONSOLE_API flag and references to it 2019-06-28 10:52:48 +01:00
socionext uniphier: support console based on multi-console 2019-07-05 18:43:16 +09:00
st Remove MULTI_CONSOLE_API flag and references to it 2019-06-28 10:52:48 +01:00
ti/k3 Remove MULTI_CONSOLE_API flag and references to it 2019-06-28 10:52:48 +01:00
xilinx zynqmp: add support for multi console interface 2019-07-01 11:35:34 +05:30