diff options
author | Rob Herring | 2017-10-03 18:07:55 +0200 |
---|---|---|
committer | Rob Herring | 2017-10-16 20:43:29 +0200 |
commit | 77ea8a68c54ede3fd60dadb6a49b597f6eb5aee7 (patch) | |
tree | 38a0e128b10134641f114f87dac9ed6d88ec4d3d /scripts | |
parent | of/fdt: add of_fdt_device_is_available function (diff) | |
download | kernel-qcow2-linux-77ea8a68c54ede3fd60dadb6a49b597f6eb5aee7.tar.gz kernel-qcow2-linux-77ea8a68c54ede3fd60dadb6a49b597f6eb5aee7.tar.xz kernel-qcow2-linux-77ea8a68c54ede3fd60dadb6a49b597f6eb5aee7.zip |
of/fdt: skip unflattening of disabled nodes
For static DT usecases, we don't need the disabled nodes and can skip
unflattening. This saves a significant amount of RAM in memory constrained
cases. In one example on STM32F469, the RAM usage goes from 118K to 26K.
There are a few cases in the kernel that modify the status property
dynamically. These all are changes from enabled to disabled, depend on
OF_DYNAMIC or are not FDT based (PDT based).
Tested-by: Nicolas Pitre <nico@linaro.org>
Reviewed-by: Frank Rowand <frowand.list@gmail.com>
Signed-off-by: Rob Herring <robh@kernel.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions