
12 Sep
2017
12 Sep
'17
3:30 p.m.
On Wed, Sep 6, 2017 at 9:49 AM, Simon Glass sjg@chromium.org wrote:
Once U-Boot relocates itself the existing driver-model timer (if any) is no-longer valid until the device is reinitialised. Any use of the device may cause a crash. To handle this, set the timer to NULL after relocation.
Signed-off-by: Simon Glass sjg@chromium.org
Changes in v3:
- Bracket access to gd->timer with an #ifdef
Changes in v2: None
common/board_f.c | 3 +++ 1 file changed, 3 insertions(+)
Reviewed-by: Bin Meng bmeng.cn@gmail.com