u-boot/drivers/core
Lokesh Vutla b0d9512ab0 dm: core: Fix Handling of global_data moving in SPL
commit 2f11cd9121 ("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>
2017-03-22 07:27:19 -06:00
..
Kconfig fdt: Support for ISA busses 2016-05-25 23:13:09 +02:00
Makefile dm: core: Add SPL Kconfig for REGMAP and SYSCON 2015-12-01 08:07:22 -07:00
device-remove.c dm: core: Rename DM_NAME_ALLOCED to DM_FLAG_NAME_ALLOCED 2016-07-14 20:40:24 -06:00
device.c dm: core: Replace of_offset with accessor 2017-02-08 06:12:14 -07:00
devres.c devres: add debug command to dump device resources 2015-08-06 07:44:29 -06:00
dump.c dm: Move the tree/uclass dump code into its own file 2015-07-21 17:39:22 -06:00
lists.c dm: core: Match compatible strings in order of priority 2016-09-21 15:04:32 +02:00
regmap.c dm: core: Replace of_offset with accessor 2017-02-08 06:12:14 -07:00
root.c dm: core: Fix Handling of global_data moving in SPL 2017-03-22 07:27:19 -06:00
simple-bus.c simple-bus: enable support for of-platdata 2017-02-08 06:12:16 -07:00
syscon-uclass.c dm: syscon: Provide a generic syscon driver 2016-09-21 15:04:32 +02:00
uclass.c dm: core: Replace of_offset with accessor 2017-02-08 06:12:14 -07:00
util.c dm: Return actual bools in dm_fdt_pre_reloc 2017-03-16 16:03:47 -06:00