On 26 March 2018 at 07:25, David Gibson <david@xxxxxxxxxxxxxxxxxxxxx> wrote: > We have a couple of places within libfdt and its tests where we need to > find the size of the header, based on the version. Add a helper function > for it. > > Signed-off-by: David Gibson <david@xxxxxxxxxxxxxxxxxxxxx> > --- > libfdt/fdt.c | 20 ++++++++++++++++---- > libfdt/libfdt.h | 10 ++++++++++ > tests/mangle-layout.c | 8 ++------ > 3 files changed, 28 insertions(+), 10 deletions(-) Reviewed-by: Simon Glass <sjg@xxxxxxxxxxxx> -- To unsubscribe from this list: send the line "unsubscribe devicetree-compiler" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html