
16 Sep
2017
16 Sep
'17
8:29 a.m.
On Tue, Sep 12, 2017 at 9:30 PM, Bin Meng bmeng.cn@gmail.com wrote:
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
applied to u-boot-x86, thanks!