Re: [U-Boot] [PATCH v3 1/6] board_f: Drop the timer after relocation

2017-09-15 Thread Bin Meng
On Tue, Sep 12, 2017 at 9:30 PM, Bin Meng wrote: > On Wed, Sep 6, 2017 at 9:49 AM, Simon Glass 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 t

Re: [U-Boot] [PATCH v3 1/6] board_f: Drop the timer after relocation

2017-09-12 Thread Bin Meng
On Wed, Sep 6, 2017 at 9:49 AM, Simon Glass 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: S

[U-Boot] [PATCH v3 1/6] board_f: Drop the timer after relocation

2017-09-05 Thread Simon Glass
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 --- Changes in v3: - Bracket access to gd->timer