]> git.baikalelectronics.ru Git - uboot.git/commit
libfdt: move working_fdt and FDT_RAMDISK_OVERHEAD to include/libfdt.h
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Sun, 21 Jan 2018 10:19:16 +0000 (19:19 +0900)
committerTom Rini <trini@konsulko.com>
Sun, 28 Jan 2018 17:27:31 +0000 (12:27 -0500)
commitf84ecc2484bdf3e1c626f7a9e68b012f86cbe674
tree842e0d2f74dfd6cc3730dbd56ba5a371271dd119
parent428cab17dd811854cb835b45a0c17e6bf9162968
libfdt: move working_fdt and FDT_RAMDISK_OVERHEAD to include/libfdt.h

libfdt_env.h exists to contain system-dependent defines:

  - typedef of fdt*_t
  - fdt*_to_cpu(), cpu_to_fdt*

working_fdt and FDT_RAMDISK_OVERHEAD are unrelated to the environment,
so they must get out of this header.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
include/libfdt.h
include/libfdt_env.h