Hi David, On Wed, 13 Nov 2019 at 14:54, Simon Glass <sjg@xxxxxxxxxxxx> wrote: > > Add a new ASSUME_MASK option, which allows for some control over the > checks used in libfdt. With all assumptions enabled, libfdt assumes that > the input data and parameters are all correct and that internal errors > cannot happen. > > By default no assumptions are made and all checks are enabled. > > Signed-off-by: Simon Glass <sjg@xxxxxxxxxxxx> > --- > > Changes in v4: > - Add a can_assume() macros and squash the inline functions into one > - Drop unnecessary FDT_ prefix > - Fix 'Incosistencies' typo > - Merge the 'friendly' and 'sane' checks into one > - Update and expand comments > > Changes in v3: > - Expand the comments about each check option > - Invert the checks to be called assumptions > - Move header-version code to fdt.c > - Move the comments on check options to the enum > - Use hex for CHK_MASK > > Changes in v2: > - Add an fdt_ prefix to avoid namespace conflicts > - Use symbolic names for _check functions and drop leading underscores > > Makefile | 6 ++- > libfdt/libfdt_internal.h | 88 ++++++++++++++++++++++++++++++++++++++++ > 2 files changed, 93 insertions(+), 1 deletion(-) Any thoughts on this latest series? We are still carrying a temporary version in U-Boot. Regards, Simon