Commit 596c29f3 authored by Rob Herring's avatar Rob Herring Committed by Rob Herring (Arm)
Browse files

of/fdt: avoid re-parsing '#{address,size}-cells' in of_fdt_limit_memory

Now that we initialize dt_root_addr_cells and dt_root_size_cells earlier,
use them and simplify of_fdt_limit_memory.

Link: https://lore.kernel.org/all/20180830190523.31474-3-robh@kernel.org/


Signed-off-by: default avatarRob Herring <robh@kernel.org>
parent 554b6623
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment