Commit 46496248 authored by Simon Glass's avatar Simon Glass Committed by David Gibson
Browse files

Add a way to control the level of checks in the code



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: default avatarSimon Glass <sjg@chromium.org>
Message-Id: <20200220214557.176528-3-sjg@chromium.org>
Signed-off-by: default avatarDavid Gibson <david@gibson.dropbear.id.au>
parent 0c5326cb
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment