blob: 7bfcd5acce92fbef1725fad6c9e9434b976616b8 [file] [log] [blame]
David Gibsonbe602682012-06-01 14:12:38 +10001/*
Amol Jadi1d976c42012-07-02 18:10:50 -07002 libfdt in this distribution was received under the 2-Clause BSD license
Duy Truongf3ac7b32013-02-13 01:07:28 -08003 choice by The Linux Foundation and is used as a part of the LK Bootloader
Amol Jadi1d976c42012-07-02 18:10:50 -07004 subject to the LK Bootloader license.
5*/
6
7
8/*
David Gibsonbe602682012-06-01 14:12:38 +10009 * libfdt - Flat Device Tree manipulation
Amol Jadi1d976c42012-07-02 18:10:50 -070010 * Copyright (C) 2006 David Gibson, IBM Corporation.
David Gibsonbe602682012-06-01 14:12:38 +100011 *
12 * libfdt is dual licensed: you can use it either under the terms of
13 * the GPL, or the BSD license, at your option.
14 *
15 * a) This library is free software; you can redistribute it and/or
16 * modify it under the terms of the GNU General Public License as
17 * published by the Free Software Foundation; either version 2 of the
18 * License, or (at your option) any later version.
19 *
20 * This library is distributed in the hope that it will be useful,
21 * but WITHOUT ANY WARRANTY; without even the implied warranty of
22 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
23 * GNU General Public License for more details.
24 *
25 * You should have received a copy of the GNU General Public
26 * License along with this library; if not, write to the Free
27 * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston,
28 * MA 02110-1301 USA
29 *
30 * Alternatively,
31 *
32 * b) Redistribution and use in source and binary forms, with or
33 * without modification, are permitted provided that the following
34 * conditions are met:
35 *
36 * 1. Redistributions of source code must retain the above
37 * copyright notice, this list of conditions and the following
38 * disclaimer.
39 * 2. Redistributions in binary form must reproduce the above
40 * copyright notice, this list of conditions and the following
41 * disclaimer in the documentation and/or other materials
42 * provided with the distribution.
43 *
44 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
45 * CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
46 * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
47 * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
48 * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
49 * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
50 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
51 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
52 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
53 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
54 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
55 * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
56 * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
57 */