Re: [U-Boot] [PATCH] dtoc: Replace dot with underscore to avoid compiler errors

2017-02-08 Thread Simon Glass
On 15 January 2017 at 21:09, Simon Glass wrote: > If there is a '.' in a compatible string, then dtoc will produce a struct > with a name containing a '.'. This won't work, so replace it with '_'. > > Also add a suitable test to the sandbox device tree to catch this. > > Signed-off-by: Simon Glass

[U-Boot] [PATCH] dtoc: Replace dot with underscore to avoid compiler errors

2017-01-15 Thread Simon Glass
If there is a '.' in a compatible string, then dtoc will produce a struct with a name containing a '.'. This won't work, so replace it with '_'. Also add a suitable test to the sandbox device tree to catch this. Signed-off-by: Simon Glass --- arch/sandbox/dts/sandbox.dts | 5 + tools/dtoc/