On Tue, Aug 27, 2019 at 4:15 PM AKASHI Takahiro <takahiro.aka...@linaro.org> wrote: > > When I tried to run some new efi tests with pytest, efi_smbios_register() > triggered a segmentation fault. Here is the location where it happened: > efi_init_obj_list() > efi_smbios_register() > write_smbios_table() > smbios_write_type4() > smbios_write_type4_dm() > > where dev_get_parent_platdata() should return a pointer to struct > cpu_platdata, but it is actually NULL because any cpu device on > sandbox is attached to "root_driver." > > With this patch, this issue will be fixed by moving all the definitions > of cpus under "cpus" node so that they have a "cpu_bus" parent. > > Signed-off-by: AKASHI Takahiro <takahiro.aka...@linaro.org> > --- > arch/sandbox/dts/test.dts | 24 +++++++++++++----------- > 1 file changed, 13 insertions(+), 11 deletions(-) >
Reviewed-by: Bin Meng <bmeng...@gmail.com> _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot