libfdt: Add support for disabling internal checks

If libfdt returns -FDT_ERR_INTERNAL that generally indicates a bug in the
library. Add a new assumption for these cases since it should be save to
disable these checks regardless of the input.

Signed-off-by: Simon Glass <[email protected]>
Suggested-by: David Gibson <[email protected]>
Message-Id: <[email protected]>
Signed-off-by: David Gibson <[email protected]>
2 files changed