dtoc: Sort platdata output from dtoc
authorSimon Glass <sjg@chromium.org>
Sat, 18 May 2019 04:00:32 +0000 (22:00 -0600)
committerSimon Glass <sjg@chromium.org>
Wed, 10 Jul 2019 22:52:58 +0000 (16:52 -0600)
commit1953ce75312ab50988f2c81f7250c99dfc2ed52b
treeedee935039fbbce8c7695c1513b847cadb54a079
parent90a8132f4de673dbb35ffee265df93b32d6582ca
dtoc: Sort platdata output from dtoc

At present the order of struct field emitted by this tool depends on the
internal workings of a Python dictionary. Sort the fields to remove this
uncertainty, so that tests are deterministic.

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