Searched hist:"295 d3942b806552503243f5cfb36aec6f1b5a9bf" (Results 1 – 3 of 3) sorted by relevance
| /rk3399_rockchip-uboot/common/ |
| H A D | console.c | 3fa4977a9ec7a2e1c7f8c098cbd857dec13936d1 Tue Mar 20 04:59:14 UTC 2012 Simon Glass <sjg@chromium.org> Revert "Add board_pre_console_putc to deal with early console output"
This reverts commit 295d3942b806552503243f5cfb36aec6f1b5a9bf.
It turns that this really doesn't work very nicely. Instead we should have a pre-console panic function so that we know that further execution is impossible and we don't need to worry about trampling on UARTs, etc.
Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Wolfgang Denk <wd@denx.de> 295d3942b806552503243f5cfb36aec6f1b5a9bf Tue Oct 18 13:43:20 UTC 2011 Simon Glass <sjg@chromium.org> Add board_pre_console_putc to deal with early console output
This patch adds support for console output before the console is inited. The main purpose of this is to deal with a very early panic() which would otherwise cause a silent hang.
A new board_pre_console_putc() function is added to the board API. If provided by the board it will be called in the event of console output before the console is ready. This function should turn on all UARTs and spray the character out if it possibly can.
The feature is controlled by a new CONFIG_PRE_CONSOLE_PUTC option.
Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Graeme Russ <graeme.russ@gmail.com>
|
| /rk3399_rockchip-uboot/include/ |
| H A D | common.h | 3fa4977a9ec7a2e1c7f8c098cbd857dec13936d1 Tue Mar 20 04:59:14 UTC 2012 Simon Glass <sjg@chromium.org> Revert "Add board_pre_console_putc to deal with early console output"
This reverts commit 295d3942b806552503243f5cfb36aec6f1b5a9bf.
It turns that this really doesn't work very nicely. Instead we should have a pre-console panic function so that we know that further execution is impossible and we don't need to worry about trampling on UARTs, etc.
Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Wolfgang Denk <wd@denx.de> 295d3942b806552503243f5cfb36aec6f1b5a9bf Tue Oct 18 13:43:20 UTC 2011 Simon Glass <sjg@chromium.org> Add board_pre_console_putc to deal with early console output
This patch adds support for console output before the console is inited. The main purpose of this is to deal with a very early panic() which would otherwise cause a silent hang.
A new board_pre_console_putc() function is added to the board API. If provided by the board it will be called in the event of console output before the console is ready. This function should turn on all UARTs and spray the character out if it possibly can.
The feature is controlled by a new CONFIG_PRE_CONSOLE_PUTC option.
Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Graeme Russ <graeme.russ@gmail.com>
|
| /rk3399_rockchip-uboot/ |
| H A D | README | 3fa4977a9ec7a2e1c7f8c098cbd857dec13936d1 Tue Mar 20 04:59:14 UTC 2012 Simon Glass <sjg@chromium.org> Revert "Add board_pre_console_putc to deal with early console output"
This reverts commit 295d3942b806552503243f5cfb36aec6f1b5a9bf.
It turns that this really doesn't work very nicely. Instead we should have a pre-console panic function so that we know that further execution is impossible and we don't need to worry about trampling on UARTs, etc.
Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Wolfgang Denk <wd@denx.de> 295d3942b806552503243f5cfb36aec6f1b5a9bf Tue Oct 18 13:43:20 UTC 2011 Simon Glass <sjg@chromium.org> Add board_pre_console_putc to deal with early console output
This patch adds support for console output before the console is inited. The main purpose of this is to deal with a very early panic() which would otherwise cause a silent hang.
A new board_pre_console_putc() function is added to the board API. If provided by the board it will be called in the event of console output before the console is ready. This function should turn on all UARTs and spray the character out if it possibly can.
The feature is controlled by a new CONFIG_PRE_CONSOLE_PUTC option.
Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Graeme Russ <graeme.russ@gmail.com>
|