Blame 0007-Remove-libfdt_env-use-system-version.patch

05409c
From f93b077671cbdabd16fc05bb33d9e49110fb0e63 Mon Sep 17 00:00:00 2001
05409c
From: Cole Robinson <crobinso@redhat.com>
05409c
Date: Wed, 12 Jun 2013 12:33:48 -0400
05409c
Subject: [PATCH] Remove libfdt_env, use system version
05409c
05409c
Seems to conflict with newer libfdt, see discussion here:
05409c
https://bugzilla.redhat.com/show_bug.cgi?id=969955
05409c
---
05409c
 include/libfdt_env.h | 36 ------------------------------------
05409c
 1 file changed, 36 deletions(-)
05409c
 delete mode 100644 include/libfdt_env.h
05409c
05409c
diff --git a/include/libfdt_env.h b/include/libfdt_env.h
05409c
deleted file mode 100644
05409c
index 3667d4c..0000000
05409c
--- a/include/libfdt_env.h
05409c
+++ /dev/null
05409c
@@ -1,36 +0,0 @@
05409c
-/*
05409c
- * This program is free software; you can redistribute it and/or modify
05409c
- * it under the terms of the GNU General Public License, version 2, as
05409c
- * published by the Free Software Foundation.
05409c
- *
05409c
- * This program is distributed in the hope that it will be useful,
05409c
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
05409c
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
05409c
- * GNU General Public License for more details.
05409c
- *
05409c
- * You should have received a copy of the GNU General Public License
05409c
- * along with this program; if not, see <http://www.gnu.org/licenses/>.
05409c
- *
05409c
- * Copyright IBM Corp. 2008
05409c
- * Authors: Hollis Blanchard <hollisb@us.ibm.com>
05409c
- *
05409c
- */
05409c
-
05409c
-#ifndef _LIBFDT_ENV_H
05409c
-#define _LIBFDT_ENV_H
05409c
-
05409c
-#include "qemu/bswap.h"
05409c
-
05409c
-#ifdef HOST_WORDS_BIGENDIAN
05409c
-#define fdt32_to_cpu(x)  (x)
05409c
-#define cpu_to_fdt32(x)  (x)
05409c
-#define fdt64_to_cpu(x)  (x)
05409c
-#define cpu_to_fdt64(x)  (x)
05409c
-#else
05409c
-#define fdt32_to_cpu(x)  bswap32(x)
05409c
-#define cpu_to_fdt32(x)  bswap32(x)
05409c
-#define fdt64_to_cpu(x)  bswap64(x)
05409c
-#define cpu_to_fdt64(x)  bswap64(x)
05409c
-#endif
05409c
-
05409c
-#endif /* _LIBFDT_ENV_H */