commit | 704033cee2e5b3c1c6eaf5bb398e465a9c3667b5 | [log] [tgz] |
---|---|---|
author | Laura Abbott <lauraa@codeaurora.org> | Tue Jul 15 10:03:35 2014 -0700 |
committer | Grant Likely <grant.likely@linaro.org> | Tue Jul 29 21:26:45 2014 -0600 |
tree | 4b6e7a5ca961e3b8c82fd82295b53cca550a332a | |
parent | 4972a74b888c6b52ca41fae6076786dbbeb746d5 [diff] |
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>