xen/libfdt: Put all libfdt in init
authorJulien Grall <julien.grall@arm.com>
Mon, 2 Jul 2018 16:19:09 +0000 (17:19 +0100)
committerStefano Stabellini <sstabellini@kernel.org>
Wed, 11 Jul 2018 19:22:17 +0000 (12:22 -0700)
commit9ba1f198f61e923295afe13662e7bd219f7f4077
tree3b45870095ae127d916d4d1b28021161f5179dca
parentff3c5b1e60b865ca403d7d74a6c3bead6a1fa6f2
xen/libfdt: Put all libfdt in init

Libfdt is used for:
    - Unflatten the Flatten Device-Tree (FDT) blob
    - Create Device-Tree for the Hardware-Domain

Both use are done during the initialization of Xen. So move all the
libfdt to init.

Note that the runes was borrowed from libelf Makefile.

Signed-off-by: Julien Grall <julien.grall@arm.com>
Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
xen/common/libfdt/Makefile