dtoc: Avoid very long lines in output
authorSimon Glass <sjg@chromium.org>
Tue, 29 Aug 2017 20:15:49 +0000 (14:15 -0600)
committerSimon Glass <sjg@chromium.org>
Fri, 15 Sep 2017 11:24:39 +0000 (05:24 -0600)
commit21d54ac353d76d46848cb7fae14a07775cc3bacf
tree51f64e441a3c98b69a9a0b16757639eca73cca96
parentfbdfd228fb7bcdd16ddca3e081b1cc1d8205702b
dtoc: Avoid very long lines in output

Large arrays can result in lines with hundreds or thousands of characters
which is not very editor-friendly. To avoid this, addjust the tool to
group values 8 per line.

Signed-off-by: Simon Glass <sjg@chromium.org>
Tested-by: Kever Yang <kever.yang@rock-chips.com>
tools/dtoc/dtb_platdata.py
tools/dtoc/test_dtoc.py