
13 Aug
2019
13 Aug
'19
11:34 a.m.
On Fri, 26 Jul 2019 at 03:13, matthias.bgg@kernel.org wrote:
From: Matthias Brugger mbrugger@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.
U-Boot
I suppose we could implement them but the idea is to keep the code synced with upstream so it is unnecessary. I've sent a code-size series to help with that.
Signed-off-by: Matthias Brugger mbrugger@suse.com
scripts/dtc/libfdt/fdt_addresses.c | 35 +++++++++++------------------- scripts/dtc/libfdt/libfdt.h | 2 +- 2 files changed, 14 insertions(+), 23 deletions(-)
Reviewed-by: Simon Glass sjg@chromium.org
Regards, Simon