Searched hist:ac9f1b555519ec77829f95d2e227c5d51afbd37b (Results 1 – 5 of 5) sorted by relevance
| /rk3399_ARM-atf/plat/socionext/uniphier/ |
| H A D | uniphier_console.h | ac9f1b555519ec77829f95d2e227c5d51afbd37b Tue Jul 02 13:03:16 UTC 2019 Masahiro Yamada <yamada.masahiro@socionext.com> 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>
|
| H A D | uniphier_console.S | ac9f1b555519ec77829f95d2e227c5d51afbd37b Tue Jul 02 13:03:16 UTC 2019 Masahiro Yamada <yamada.masahiro@socionext.com> 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>
|
| H A D | uniphier_console_setup.c | ac9f1b555519ec77829f95d2e227c5d51afbd37b Tue Jul 02 13:03:16 UTC 2019 Masahiro Yamada <yamada.masahiro@socionext.com> 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>
|
| H A D | uniphier_bl31_setup.c | ac9f1b555519ec77829f95d2e227c5d51afbd37b Tue Jul 02 13:03:16 UTC 2019 Masahiro Yamada <yamada.masahiro@socionext.com> 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>
|
| H A D | platform.mk | ac9f1b555519ec77829f95d2e227c5d51afbd37b Tue Jul 02 13:03:16 UTC 2019 Masahiro Yamada <yamada.masahiro@socionext.com> 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>
|