]> git.sur5r.net Git - u-boot/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)
commit25ad202dd3268c3bda692de83485ca7649f2a57c
tree842e0d2f74dfd6cc3730dbd56ba5a371271dd119
parentd2bf1152c078e7db7ffade193da8cfb1b8430ce0
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