Files
u-boot/drivers
Simon Glass 2f11cd9121 dm: core: Handle global_data moving in SPL
When CONFIG_SPL_STACK_R is enabled, and spl_init() is called before
board_init_r(), spl_relocate_stack_gd() will move global_data to a new
place in memory. This affects driver model since it uses a list for the
uclasses. Unless this is updated the list will become invalid. When
looking for a non-existent uclass, such as when adding a new one, the loop
in uclass_find() may continue forever, thus causing a hang.

Add a function to correct this rather obscure bug.

Signed-off-by: Simon Glass <sjg@chromium.org>
2016-12-02 20:53:19 -07:00
..
2015-11-02 10:38:00 +09:00
2016-11-25 17:59:31 -07:00
2016-10-19 09:01:51 +02:00
2016-01-27 15:32:05 +01:00
2016-10-12 20:48:43 -04:00
2016-12-01 13:51:57 +09:00
2016-10-28 07:13:52 -04:00
2016-02-06 12:00:59 +01:00
2016-11-25 17:59:30 -07:00
2016-08-12 16:00:50 -04:00
2016-03-14 19:21:44 -04:00
2016-11-28 19:49:49 -05:00
2016-11-28 19:49:49 -05:00