ext: DT autogeneration - Add PyFtd to m5 space
authorGlenn Bergmans <glenn.bergmans@arm.com>
Wed, 16 Dec 2015 15:43:42 +0000 (15:43 +0000)
committerCurtis Dunham <curtis.dunham@arm.com>
Mon, 29 Jan 2018 22:20:06 +0000 (22:20 +0000)
commit3da05785813662f647b07400734337630a9f6f78
tree10fc8a4b9265fc0b057e93f37d7f491c046c6f7d
parent9f5b6e1b74c8289050836abdfb9c2539380f9105
ext: DT autogeneration - Add PyFtd to m5 space

This patch adds pyfdt.py to the m5.ext module. This is used in
succeeding patches for generating and editing dtb files and flat
device trees for DT autogeneration.

The file is in the m5_root/src/python/m5/ext directory, as opposed to
the m5_root/ext, because this library is part of the m5 object space
and linking to the m5_root/ext directory from the SConscript file
in src/python can not be done reliably. Linking from the root level
SConscript is also not an option, because it doesn't have the PySource
method defined.

Cloned from: https://github.com/superna9999/pyfdt
Commit: accbcd254584c9295a18878d32999d0c7c156f8e
Version: 0.3

Change-Id: I928bdc912a9507d1f8a3290acf445c7cae496552
Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com>
Reviewed-by: Curtis Dunham <curtis.dunham@arm.com>
Reviewed-on: https://gem5-review.googlesource.com/5961
Reviewed-by: Jason Lowe-Power <jason@lowepower.com>
Maintainer: Andreas Sandberg <andreas.sandberg@arm.com>
src/python/SConscript
src/python/m5/ext/__init__.py [new file with mode: 0644]
src/python/m5/ext/pyfdt/LICENCE [new file with mode: 0644]
src/python/m5/ext/pyfdt/README.md [new file with mode: 0644]
src/python/m5/ext/pyfdt/__init__.py [new file with mode: 0644]
src/python/m5/ext/pyfdt/pyfdt.py [new file with mode: 0644]