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

Bin Meng bmeng.cn at gmail.com
Sat Sep 16 06:29:10 UTC 2017


On Tue, Sep 12, 2017 at 9:30 PM, Bin Meng <bmeng.cn at gmail.com> wrote:
> On Wed, Sep 6, 2017 at 9:49 AM, Simon Glass <sjg at 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 at 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 at gmail.com>

applied to u-boot-x86, thanks!


More information about the U-Boot mailing list