Searched hist:f9fd4558ea977f0ad574c829026f26157176cea6 (Results 1 – 1 of 1) sorted by relevance
| /rk3399_rockchip-uboot/test/dm/ |
| H A D | core.c | f9fd4558ea977f0ad574c829026f26157176cea6 Sun Apr 19 13:21:02 UTC 2015 Simon Glass <sjg@chromium.org> dm: test: Don't clear global_data in dm_test_uclass_before_ready()
We must not clear global_data even in tests, since the ram_buffer (which is used by malloc()) will also be lost, and subsequent tests will fail.
Zero only the global_data fields that are required for the test to function.
Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Joe Hershberger <joe.hershberger@ni.com> Tested-by: Joe Hershberger <joe.hershberger@ni.com>
|