dtoc: Split out the main class into its own file
authorSimon Glass <sjg@chromium.org>
Mon, 19 Jun 2017 04:08:58 +0000 (22:08 -0600)
committerSimon Glass <sjg@chromium.org>
Tue, 11 Jul 2017 16:08:20 +0000 (10:08 -0600)
commit7581c01a159ce04101798a39c04b5fa37ac718d2
tree1771734bfc64c2c1baa38fbbb9ef595339ec1f1f
parent14f5acfc5b0c133cbe5e7f5bffc0519f994abbfa
dtoc: Split out the main class into its own file

To simplify running tests we should move this class into its own file.
This allows the tests to import it without having to import dtoc.py, which
runs the tests.

Signed-off-by: Simon Glass <sjg@chromium.org>
tools/dtoc/dtb_platdata.py [new file with mode: 0644]
tools/dtoc/dtoc.py