diff options
author | Laura Abbott <lauraa@codeaurora.org> | 2014-07-15 17:03:35 (GMT) |
---|---|---|
committer | Grant Likely <grant.likely@linaro.org> | 2014-07-30 03:26:45 (GMT) |
commit | 704033cee2e5b3c1c6eaf5bb398e465a9c3667b5 (patch) | |
tree | 4b6e7a5ca961e3b8c82fd82295b53cca550a332a /drivers/block/amiflop.c | |
parent | 4972a74b888c6b52ca41fae6076786dbbeb746d5 (diff) | |
download | linux-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/block/amiflop.c')
0 files changed, 0 insertions, 0 deletions