From 35401942c2fcf22c7aa91c63263fae53a281f8a9 Mon Sep 17 00:00:00 2001 From: andrew Date: Sun, 14 Dec 2014 15:33:45 +0000 Subject: MFC 273927: Move the definitions of the fdt functions from a uboot header to a new fdt header. There is nothing in the fdt spec that ties it to U-Boot. While here sort and fix the signature of fdt_setup_fdtp. MFC 273934: Start to allow platforms other than U-Boot to use the FDT code in loader by moving U-Boot specific code from libfdt.a to a new libuboot_fdt.a. This needs to be a new library for linking to work correctly. Differential Revision: https://reviews.freebsd.org/D1054 Reviewed by: ian, rpaulo (earlier version) --- sys/boot/uboot/lib/module.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'sys/boot/uboot/lib/module.c') diff --git a/sys/boot/uboot/lib/module.c b/sys/boot/uboot/lib/module.c index d9b3dc0..ed887b7 100644 --- a/sys/boot/uboot/lib/module.c +++ b/sys/boot/uboot/lib/module.c @@ -34,6 +34,10 @@ __FBSDID("$FreeBSD$"); #include #include +#if defined(LOADER_FDT_SUPPORT) +#include +#endif + #include "bootstrap.h" #include "libuboot.h" -- cgit v1.1