dtoc: Move Widen() and GetPhandle() into the base class
authorSimon Glass <sjg@chromium.org>
Tue, 26 Jul 2016 00:59:06 +0000 (18:59 -0600)
committerSimon Glass <sjg@chromium.org>
Mon, 19 Sep 2016 03:04:38 +0000 (21:04 -0600)
commitc322a850affaf18f3833b3316292c91007c4b5d8
tree385f5b6c8e0debface4164f23ca3c5e9210f7476
parentbc1dea3656e55d91f7a3c1339d53fc9def3bbf31
dtoc: Move Widen() and GetPhandle() into the base class

These functions are identical in both subclasses. Move them into the base
class.

Note: In fact there is a bug in one version, which was fixed by this patch:

https://patchwork.ozlabs.org/patch/651697/

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