Searched hist:e4d6ab0c2cb8456f80d0ee4e123a34029d5a5c41 (Results 1 – 2 of 2) sorted by relevance
| /rk3399_rockchip-uboot/drivers/serial/ |
| H A D | serial-uclass.c | e4d6ab0c2cb8456f80d0ee4e123a34029d5a5c41 Sat Mar 12 05:06:51 UTC 2016 Simon Glass <sjg@chromium.org> x86: Allow use of serial soon after relocation
At present on x86 machines with use cache-as-RAM, the memory goes away just before board_init_r() is called. This means that serial drivers are no-longer unavailable, until initr_dm() it called, etc.
Any attempt to use printf() within this period will cause a hang.
To fix this, mark the serial devices as 'unavailable' when it is no-longer available. Bring it back when serial_initialize() is called. This means that the debug UART will be used instead for this period.
Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
| /rk3399_rockchip-uboot/common/ |
| H A D | board_f.c | e4d6ab0c2cb8456f80d0ee4e123a34029d5a5c41 Sat Mar 12 05:06:51 UTC 2016 Simon Glass <sjg@chromium.org> x86: Allow use of serial soon after relocation
At present on x86 machines with use cache-as-RAM, the memory goes away just before board_init_r() is called. This means that serial drivers are no-longer unavailable, until initr_dm() it called, etc.
Any attempt to use printf() within this period will cause a hang.
To fix this, mark the serial devices as 'unavailable' when it is no-longer available. Bring it back when serial_initialize() is called. This means that the debug UART will be used instead for this period.
Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|