The file loading support in initrd.c can be re-used for loading devicetrees. Move it out of initrd.c. Signed-off-by: Vincent Whitchurch <[email protected]> Signed-off-by: Richard Weinberger <[email protected]>