]> git.dujemihanovic.xyz Git - u-boot.git/commit
fdt: Add Kconfig options to control code size
authorSimon Glass <sjg@chromium.org>
Sun, 27 Oct 2019 15:47:40 +0000 (09:47 -0600)
committerSimon Glass <sjg@chromium.org>
Tue, 5 Nov 2019 01:15:32 +0000 (18:15 -0700)
commit0d76afc032977e77bd0f1dce94b30dce9785426f
tree087e99540a459cb123e7ecb1d7b4ba2f137f2266
parent865989535038a2e5d11a18f2c3a67974f8328aee
fdt: Add Kconfig options to control code size

For better or worse libfdt recent grew a lot of code that checks the
validity of the device tree in great detail. When using unsigned or
unverified data this makes things safer, but it does add to code size.

Add some controls to select the trade-off between safety and code size.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Tom Rini <trini@konsulko.com>
lib/Kconfig
lib/libfdt/Makefile