[U-Boot] [PATCH 09/30] dtoc: Move BytesToValue() and GetEmpty() into PropBase

Simon Glass sjg at chromium.org
Sat Aug 27 18:05:37 CEST 2016


On 25 July 2016 at 18:59, Simon Glass <sjg at chromium.org> wrote:
> These functions are currently in a separate fdt_util file. Since they are
> only used from PropBase and subclasses, it makes sense for them to be in the
> PropBase class.
>
> Move these functions into fdt.py along with the list of types.
>
> Signed-off-by: Simon Glass <sjg at chromium.org>
> ---
>
>  tools/dtoc/dtoc.py         | 17 ++++++------
>  tools/dtoc/fdt.py          | 66 ++++++++++++++++++++++++++++++++++++++++++++++
>  tools/dtoc/fdt_fallback.py |  4 +--
>  tools/dtoc/fdt_normal.py   |  6 ++---
>  tools/dtoc/fdt_util.py     | 66 ----------------------------------------------
>  5 files changed, 80 insertions(+), 79 deletions(-)

Applied to u-boot-dm/next.


More information about the U-Boot mailing list