dtoc: Move a few more common functions into fdt.py
authorSimon Glass <sjg@chromium.org>
Tue, 26 Jul 2016 00:59:07 +0000 (18:59 -0600)
committerSimon Glass <sjg@chromium.org>
Mon, 19 Sep 2016 03:04:38 +0000 (21:04 -0600)
commitf7a2aeeeb8d4bbbb9bfd788903942062c8535efb
tree6b3a40e80838d7c733894379baf4df4eb81da90e
parentc322a850affaf18f3833b3316292c91007c4b5d8
dtoc: Move a few more common functions into fdt.py

Some functions have the same code in the subclasses. Move these into the
superclass to avoid duplication.

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