Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | dtoc: Correct the type widening code in fdt_fallback | Simon Glass | 2016-07-25 | 1 | -0/+6 |
| | | | | | | | | | | | | | This code does not match the fdt version in fdt.py. When dtoc is unable to use the Python libfdt library, it uses the fallback version, which does not widen arrays correctly. Fix this to avoid a warning 'excess elements in array initialize' in dt-platdata.c which happens on some platforms. Reported-by: Tom Rini <trini@konsulko.com> Signed-off-by: Simon Glass <sjg@chromium.org> Tested-by: Tom Rini <trini@konsulko.com> | ||||
* | dm: Add a library to provide simple device-tree access | Simon Glass | 2016-07-14 | 1 | -0/+207 |
This Python library provides a way to access the contents of the device tree. It uses fdtget, so is inefficient for larger device tree files. Signed-off-by: Simon Glass <sjg@chromium.org> |