dtoc: Move BytesToValue() out of the Prop class
authorSimon Glass <sjg@chromium.org>
Sat, 18 May 2019 04:00:34 +0000 (22:00 -0600)
committerSimon Glass <sjg@chromium.org>
Wed, 10 Jul 2019 22:52:58 +0000 (16:52 -0600)
commit7e6952df36a28b570818ee1fd36b07c41ef14aea
tree7f57d478fb0ad58d670f9f878d7e36c144e12ba8
parent194b8d5e71a41dbb839fdaa49677b146e6a0fb5d
dtoc: Move BytesToValue() out of the Prop class

This method does not actually use any members of the Prop class. Move it
out of the class so that it is easier to add unit tests.

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