diff options
author | Simon Glass <sjg@chromium.org> | 2015-01-26 18:27:07 -0700 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2015-02-19 06:20:25 -0700 |
commit | 2f964aa7b1bf7de50587a1864cf60d187ebefb2c (patch) | |
tree | 327538419b445e03d57685b0cce6f518577c42a6 /board/openrisc/openrisc-generic/or1ksim.cfg | |
parent | ba25779384671c533a778e53d59fe3f317bfefa8 (diff) |
serial: Support an early UART for debugging
This came up in a discussion on the mailing list here:
https://patchwork.ozlabs.org/patch/384613/
My concerns at the time were:
- it doesn't need to be written in assembler
- it doesn't need to be ARM-specific
This patch provides a possible alternative. It works by allowing any serial
driver to export one init function and provide a putc() function. These
can be used to output debug data before the real serial driver is available.
This implementation does not depend on driver model, and it is possible for
it to operate without a stack on some architectures (e.g. PowerPC, ARM). It
provides the same features as the ARM-specific debug.S but with more UART
and architecture support.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'board/openrisc/openrisc-generic/or1ksim.cfg')
0 files changed, 0 insertions, 0 deletions