Re: [U-Boot] [PATCH 2/4] fdt: Add Kconfig options to control code size

2019-11-05 Thread sjg
On Sun, Oct 27, 2019 at 09:47:40AM -0600, Simon Glass wrote: > 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 t

Re: [U-Boot] [PATCH 2/4] fdt: Add Kconfig options to control code size

2019-10-30 Thread Tom Rini
On Sun, Oct 27, 2019 at 09:47:40AM -0600, Simon Glass wrote: > 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

Re: [U-Boot] [PATCH 2/4] fdt: Add Kconfig options to control code size

2019-10-28 Thread Tom Rini
On Sun, Oct 27, 2019 at 12:49:28PM -0600, Simon Glass wrote: > Hi Heinrich, > > On Sun, 27 Oct 2019 at 12:06, Heinrich Schuchardt wrote: > > > > On 10/27/19 4:47 PM, Simon Glass wrote: > > > For better or worse libfdt recent grew a lot of code that checks the > > > validity of the device tree in

Re: [U-Boot] [PATCH 2/4] fdt: Add Kconfig options to control code size

2019-10-27 Thread Simon Glass
Hi Heinrich, On Sun, 27 Oct 2019 at 12:06, Heinrich Schuchardt wrote: > > On 10/27/19 4:47 PM, Simon Glass wrote: > > 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

Re: [U-Boot] [PATCH 2/4] fdt: Add Kconfig options to control code size

2019-10-27 Thread Heinrich Schuchardt
On 10/27/19 4:47 PM, Simon Glass wrote: 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 betwee

[U-Boot] [PATCH 2/4] fdt: Add Kconfig options to control code size

2019-10-27 Thread Simon Glass
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: Si