Skip to content
Commit 4f253ad0 authored by Thierry Reding's avatar Thierry Reding Committed by Simon Glass
Browse files

fdtdec: Add fdt_{addr, size}_unpack() helpers



These helpers can be used to unpack variables of type fdt_addr_t and
fdt_size_t into a pair of 32-bit variables. This is useful in cases
where such variables need to be written to properties (such as "reg")
of a device tree node where they need to be split into cells.

Signed-off-by: default avatarThierry Reding <treding@nvidia.com>
parent 155d0a08
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment