commit | b77fe1f2ba390d5025f9885ab75a79481aac837f | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Tue Sep 05 19:49:45 2017 -0600 |
committer | Bin Meng <bmeng.cn@gmail.com> | Sat Sep 16 14:57:44 2017 +0800 |
tree | 8eae080d0bcf0d5f9f57b3b55efa07e045016c3a | |
parent | 4ba75709dab6fb3d8f9983e25cb9802db4256def [diff] |
board_f: Drop the timer after relocation 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> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>