On 11/06/2018 11:57 PM, Simon Glass wrote:
The CPU uclass expects that all CPUs have a parent device which is a
cpu-bus. Fix up the sandbox test DT to follow this convention. This allow
the code in smbios_write_type4_dm() to work, since it calls
dev_get_parent_platdata() on each CPU.

Signed-off-by: Simon Glass <s...@chromium.org>

This patch breaks the built-in unit tests:

=> ut dm cpu
Test: dm_test_cpu: cpu.c
test/dm/cpu.c:28, dm_test_cpu(): 0 == uclass_get_device_by_name(UCLASS_CPU, "cpu-test1", &dev): Expected 0, got -19
Test: dm_test_cpu: cpu.c (flat tree)
test/dm/cpu.c:28, dm_test_cpu(): 0 == uclass_get_device_by_name(UCLASS_CPU, "cpu-test1", &dev): Expected 0, got -19
Failures: 2


I'll remove it from my queue again.

Alex

_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot

Reply via email to