Home
last modified time | relevance | path

Searched hist:b0d9512ab0f1b2c3f56346bf14b0978d45477ad2 (Results 1 – 1 of 1) sorted by relevance

/rk3399_rockchip-uboot/drivers/core/
H A Droot.cb0d9512ab0f1b2c3f56346bf14b0978d45477ad2 Mon Feb 13 03:51:22 UTC 2017 Lokesh Vutla <lokeshvutla@ti.com> 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>