diff options
author | Lokesh Vutla <lokeshvutla@ti.com> | 2017-02-13 09:21:22 +0530 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2017-03-22 07:27:19 -0600 |
commit | b0d9512ab0f1b2c3f56346bf14b0978d45477ad2 (patch) | |
tree | 7c9e6bf58d4024c9d9761662c8306b70a48a4cf2 /tools/omapimage.h | |
parent | 5877d8f398de26617be6f1f57bc30c49e9f90ebb (diff) |
dm: core: Fix Handling of global_data moving in SPL
commit 2f11cd9121658 ("dm: core: Handle global_data moving in SPL")
handles relocation of GD in SPL if spl_init() is called before
board_init_r(). So, uclass_root.next need not be initialized always
and accessing uclass_root.next->prev gives an abort. Update the
uclass_root only if it is available.
Reviewed-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
Diffstat (limited to 'tools/omapimage.h')
0 files changed, 0 insertions, 0 deletions