Searched hist:"2 f5307d6ba1620ae7bbec010a2aeefd5dad9ef44" (Results 1 – 1 of 1) sorted by relevance
| /rk3399_ARM-atf/drivers/imx/uart/ |
| H A D | imx_crash_uart.S | 2f5307d6ba1620ae7bbec010a2aeefd5dad9ef44 Fri May 25 16:35:09 UTC 2018 Bryan O'Donoghue <bryan.odonoghue@linaro.org> drivers: imx: crash-console: Add a mxc_crash_console driver
This patch does two main things
- It implements the crash console UART init in assembly, as a hard-coded 115200 8N1 assumed from the 24 MHz clock.
If the clock setup code has not run yet, this code can't work but, setting up clocks and clock-gates is way out of scope for this type of recovery function.
- It adds code to write a character out of the NXP UART without using any stack-based operations when doing so.
- Provides support for crash console in DCE or DTE mode.
Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
|