Skip to content
Commit 704033ce authored by Laura Abbott's avatar Laura Abbott Committed by Grant Likely
Browse files

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: default avatarLaura Abbott <lauraa@codeaurora.org>
Tested-by: default avatarAndreas Färber <afaerber@suse.de>
Signed-off-by: default avatarGrant Likely <grant.likely@linaro.org>
parent 4972a74b
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment