aboutsummaryrefslogtreecommitdiff
path: root/lib/libfdt/pylibfdt
Commit message (Collapse)AuthorAgeFilesLines
* moveconfig: Use fd.write() instead of print >>Simon Glass2017-09-111-0/+2
| | | | | | | | Adjust this code so that it can work with Python 2 and 3. Fixes: d73fcb1 (moveconfig: Support building a simple config database) Reported-by: Chris Packham <judge.packham@gmail.com> Signed-off-by: Simon Glass <sjg@chromium.org>
* fdt: Allow swig options to be provided by MakefileSimon Glass2017-06-021-2/+2
| | | | | | U-Boot needs to provide some swig include directories. Add this feature. Signed-off-by: Simon Glass <sjg@chromium.org>
* fdt: Add Python bindingsSimon Glass2017-06-022-0/+512
An early version of this is available upstream. Bring it in as a starting point. This is from dtc upstream commit e56f2b0. Future work will plumb it into dtoc and remove the now-unnecessary local libraries. Signed-off-by: Simon Glass <sjg@chromium.org>