[U-Boot] [PATCH] dtoc: Replace dot with underscore to avoid compiler errors
Simon Glass
sjg at chromium.org
Wed Feb 8 17:41:53 UTC 2017
On 15 January 2017 at 21:09, Simon Glass <sjg at chromium.org> 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 <sjg at chromium.org>
> ---
>
> arch/sandbox/dts/sandbox.dts | 5 +++++
> tools/dtoc/dtoc.py | 1 +
> 2 files changed, 6 insertions(+)
Applied to u-boot-dm, thanks!
More information about the U-Boot
mailing list