From owner-svn-src-head@FreeBSD.ORG Sun Mar 11 06:49:31 2012 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 863F11065672; Sun, 11 Mar 2012 06:49:31 +0000 (UTC) (envelope-from jmallett@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 755708FC17; Sun, 11 Mar 2012 06:49:31 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id q2B6nVbg097918; Sun, 11 Mar 2012 06:49:31 GMT (envelope-from jmallett@svn.freebsd.org) Received: (from jmallett@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id q2B6nV7c097916; Sun, 11 Mar 2012 06:49:31 GMT (envelope-from jmallett@svn.freebsd.org) Message-Id: <201203110649.q2B6nV7c097916@svn.freebsd.org> From: Juli Mallett Date: Sun, 11 Mar 2012 06:49:31 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r232815 - head/sys/contrib/octeon-sdk X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Mar 2012 06:49:31 -0000 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 #else # include "libfdt/libfdt.h" #endif +#endif #include "cvmx-swap.h" #endif