commit | 4f253ad064689bc55eaba1c3e7d42f0f358a72c3 | [log] [tgz] |
---|---|---|
author | Thierry Reding <treding@nvidia.com> | Thu Mar 21 19:10:00 2019 +0100 |
committer | Simon Glass <sjg@chromium.org> | Thu Apr 11 20:10:50 2019 -0600 |
tree | 0b4f87476ac601f441ec6294b42faf4da32a1748 | |
parent | 155d0a08fb9bf0ab39c3db8961bd618f49897630 [diff] |
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: Thierry Reding <treding@nvidia.com>