[U-Boot] [PATCH v2 1/4] libfdt: fdt_address_cells() and fdt_size_cells()

sjg at google.com sjg at google.com
Fri Sep 27 23:28:54 UTC 2019

From: Matthias Brugger <mbrugger at suse.com>

Add internal fdt_cells() to avoid copy and paste. Fix typo in
fdt_size_cells() documentation comment.

This is based in upstream commit:
c12b2b0 ("libfdt: fdt_address_cells() and fdt_size_cells()")
but misses the test cases, as we don't implement them in U-Boot.

Signed-off-by: Matthias Brugger <mbrugger at suse.com>
Reviewed-by: Simon Glass <sjg at chromium.org>

 scripts/dtc/libfdt/fdt_addresses.c | 35 +++++++++++-------------------
 scripts/dtc/libfdt/libfdt.h        |  2 +-
 2 files changed, 14 insertions(+), 23 deletions(-)

Applied to u-boot-dm/next, thanks!

More information about the U-Boot mailing list