svn commit: r232815 - head/sys/contrib/octeon-sdk
Juli Mallett
jmallett at FreeBSD.org
Sun Mar 11 06:49:31 UTC 2012
Author: jmallett
Date: Sun Mar 11 06:49:31 2012
New Revision: 232815
URL: http://svn.freebsd.org/changeset/base/232815
Log:
Do not try to use libfdt in FreeBSD.
Modified:
head/sys/contrib/octeon-sdk/cvmx-helper-board.c
Modified: head/sys/contrib/octeon-sdk/cvmx-helper-board.c
==============================================================================
--- head/sys/contrib/octeon-sdk/cvmx-helper-board.c Sun Mar 11 06:18:56 2012 (r232814)
+++ head/sys/contrib/octeon-sdk/cvmx-helper-board.c Sun Mar 11 06:49:31 2012 (r232815)
@@ -73,11 +73,13 @@
#include "cvmx-helper-util.h"
#include "cvmx-helper-board.h"
#include "cvmx-gpio.h"
+#if !defined(__FreeBSD__) || !defined(_KERNEL)
#ifdef __U_BOOT__
# include <libfdt.h>
#else
# include "libfdt/libfdt.h"
#endif
+#endif
#include "cvmx-swap.h"
#endif
More information about the svn-src-all
mailing list