]> git.baikalelectronics.ru Git - uboot.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)
commit6d648f7659578d49e5cd5a43ce0d932940be7b07
tree087e99540a459cb123e7ecb1d7b4ba2f137f2266
parent111c3fb963cc435b1db1885778479c1846aaf007
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