fdtdec: Add cpu_to_fdt_{addr, size}() macros
authorThierry Reding <treding@nvidia.com>
Thu, 21 Mar 2019 18:09:59 +0000 (19:09 +0100)
committerSimon Glass <sjg@chromium.org>
Fri, 12 Apr 2019 02:10:50 +0000 (20:10 -0600)
commit155d0a08fb9bf0ab39c3db8961bd618f49897630
tree91710b732839ea5a96cbad530ab4b6724f3da6dc
parentea1df3e07cc5a4b155e69fcb7f583cb7f4c2cbe3
fdtdec: Add cpu_to_fdt_{addr, size}() macros

These macros are useful for converting the endianness of variables of
type fdt_addr_t and fdt_size_t.

Reviewed-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Thierry Reding <treding@nvidia.com>
include/fdtdec.h