summaryrefslogtreecommitdiff
path: root/drivers/of/base.c
diff options
context:
space:
mode:
authorLaura Abbott <lauraa@codeaurora.org>2014-07-15 21:03:35 +0400
committerGrant Likely <grant.likely@linaro.org>2014-07-30 07:26:45 +0400
commit704033cee2e5b3c1c6eaf5bb398e465a9c3667b5 (patch)
tree4b6e7a5ca961e3b8c82fd82295b53cca550a332a /drivers/of/base.c
parent4972a74b888c6b52ca41fae6076786dbbeb746d5 (diff)
downloadlinux-704033cee2e5b3c1c6eaf5bb398e465a9c3667b5.tar.xz
of: Add memory limiting function for flattened devicetrees
Buggy bootloaders may pass bogus memory entries in the devicetree. Add of_fdt_limit_memory to add an upper bound on the number of entries that can be present in the devicetree. Signed-off-by: Laura Abbott <lauraa@codeaurora.org> Tested-by: Andreas Färber <afaerber@suse.de> Signed-off-by: Grant Likely <grant.likely@linaro.org>
Diffstat (limited to 'drivers/of/base.c')
0 files changed, 0 insertions, 0 deletions