Re: [U-Boot] [PATCH v12 1/6] sandbox: Put CPUs under a cpu-bus node

2018-11-15 Thread Alexander Graf
On 15.11.18 21:01, Simon Glass wrote: > Hi Alex, > > On 14 November 2018 at 00:34, Alexander Graf wrote: >> 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.

Re: [U-Boot] [PATCH v12 1/6] sandbox: Put CPUs under a cpu-bus node

2018-11-15 Thread Simon Glass
Hi Alex, On 14 November 2018 at 00:34, Alexander Graf wrote: > 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()

Re: [U-Boot] [PATCH v12 1/6] sandbox: Put CPUs under a cpu-bus node

2018-11-14 Thread Alexander Graf
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.

[U-Boot] [PATCH v12 1/6] sandbox: Put CPUs under a cpu-bus node

2018-11-06 Thread Simon Glass
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 --- Changes in v12: -