]> git.sur5r.net Git - u-boot/commit - tools/dtoc/dtoc.py
dtoc: Move BytesToValue() and GetEmpty() into PropBase
authorSimon Glass <sjg@chromium.org>
Tue, 26 Jul 2016 00:59:05 +0000 (18:59 -0600)
committerSimon Glass <sjg@chromium.org>
Mon, 19 Sep 2016 03:04:38 +0000 (21:04 -0600)
commitbc1dea3656e55d91f7a3c1339d53fc9def3bbf31
tree0f3b8398e8eee593473695feb9d6f25ec97bf807
parenta06a34b2031e0797892e188595bfb305cd9719ab
dtoc: Move BytesToValue() and GetEmpty() into PropBase

These functions are currently in a separate fdt_util file. Since they are
only used from PropBase and subclasses, it makes sense for them to be in the
PropBase class.

Move these functions into fdt.py along with the list of types.

Signed-off-by: Simon Glass <sjg@chromium.org>
tools/dtoc/dtoc.py
tools/dtoc/fdt.py
tools/dtoc/fdt_fallback.py
tools/dtoc/fdt_normal.py
tools/dtoc/fdt_util.py