summaryrefslogtreecommitdiff
path: root/libfdt/fdt_wip.c
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2007-08-11 02:14:05 +0200
committerWolfgang Denk <wd@denx.de>2007-08-11 02:14:05 +0200
commit308e2b3a6c3fd84fceada79b3d4a559280d326a6 (patch)
tree452e7ed9e0ed6c11cc4a73a3a588a72cbc2646b7 /libfdt/fdt_wip.c
parent923efd286411ed052d9e074f59f8986d6081061c (diff)
parent5fe6be6208dda852c3564e384bd78d75784dea3e (diff)
downloadu-boot-imx-308e2b3a6c3fd84fceada79b3d4a559280d326a6.zip
u-boot-imx-308e2b3a6c3fd84fceada79b3d4a559280d326a6.tar.gz
u-boot-imx-308e2b3a6c3fd84fceada79b3d4a559280d326a6.tar.bz2
Merge with /home/wd/git/u-boot/custodian/u-boot-fdt
Diffstat (limited to 'libfdt/fdt_wip.c')
-rw-r--r--libfdt/fdt_wip.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/libfdt/fdt_wip.c b/libfdt/fdt_wip.c
index 2d2ed37..2d39aab 100644
--- a/libfdt/fdt_wip.c
+++ b/libfdt/fdt_wip.c
@@ -16,6 +16,9 @@
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
+#include "config.h"
+#if CONFIG_OF_LIBFDT
+
#include "libfdt_env.h"
#include <fdt.h>
@@ -135,3 +138,5 @@ int fdt_replace_reservemap_entry(void *fdt, int n, uint64_t addr, uint64_t size)
return 0;
}
+
+#endif /* CONFIG_OF_LIBFDT */