dtoc: Output the device in a separate function
authorSimon Glass <sjg@chromium.org>
Wed, 23 Dec 2020 15:11:21 +0000 (08:11 -0700)
committerSimon Glass <sjg@chromium.org>
Tue, 5 Jan 2021 19:24:41 +0000 (12:24 -0700)
commit221ddc11586fa29b6fcaeae5ea06379f5c62e5e4
tree6b6fb7abe9f209ac82cce75af842341a81b053ed
parentabf0c80292d62121d0c28cda27a92a10406428de
dtoc: Output the device in a separate function

Reduce the length of output_node() by moving the device-output
functionality into a separate function.

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