|
@@ -15,8 +15,6 @@ Signed-off-by: Lothar Felten <lothar.felten@gmail.com>
|
|
[ThomasDS: also update fdt.h which has the same issue, seen on U-Boot
|
|
[ThomasDS: also update fdt.h which has the same issue, seen on U-Boot
|
|
2011.03]
|
|
2011.03]
|
|
Signed-off-by: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
|
|
Signed-off-by: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
|
|
-[Titouan: Taking new SPDX line into account]
|
|
|
|
-Signed-off-by: Titouan Christophe <titouan.christophe@railnova.eu>
|
|
|
|
---
|
|
---
|
|
libfdt/fdt.h | 4 ++++
|
|
libfdt/fdt.h | 4 ++++
|
|
libfdt/libfdt.h | 4 ++++
|
|
libfdt/libfdt.h | 4 ++++
|
|
@@ -27,8 +25,7 @@ diff --git a/libfdt/fdt.h b/libfdt/fdt.h
|
|
index 74961f9..2904f48 100644
|
|
index 74961f9..2904f48 100644
|
|
--- a/libfdt/fdt.h
|
|
--- a/libfdt/fdt.h
|
|
+++ b/libfdt/fdt.h
|
|
+++ b/libfdt/fdt.h
|
|
-@@ -1,4 +1,8 @@
|
|
|
|
- /* SPDX-License-Identifier: (GPL-2.0-or-later OR BSD-2-Clause) */
|
|
|
|
|
|
+@@ -1,3 +1,7 @@
|
|
+#ifdef _FDT_H
|
|
+#ifdef _FDT_H
|
|
+#warning "Please consider updating your kernel and/or u-boot version"
|
|
+#warning "Please consider updating your kernel and/or u-boot version"
|
|
+#define FDT_H
|
|
+#define FDT_H
|
|
@@ -40,8 +37,7 @@ diff --git a/libfdt/libfdt.h b/libfdt/libfdt.h
|
|
index 830b77e..bef4566 100644
|
|
index 830b77e..bef4566 100644
|
|
--- a/libfdt/libfdt.h
|
|
--- a/libfdt/libfdt.h
|
|
+++ b/libfdt/libfdt.h
|
|
+++ b/libfdt/libfdt.h
|
|
-@@ -1,4 +1,8 @@
|
|
|
|
- /* SPDX-License-Identifier: (GPL-2.0-or-later OR BSD-2-Clause) */
|
|
|
|
|
|
+@@ -1,3 +1,7 @@
|
|
+#ifdef _LIBFDT_H
|
|
+#ifdef _LIBFDT_H
|
|
+#warning "Please consider updating your kernel and/or u-boot version"
|
|
+#warning "Please consider updating your kernel and/or u-boot version"
|
|
+#define LIBFDT_H
|
|
+#define LIBFDT_H
|
|
@@ -53,8 +49,7 @@ diff --git a/libfdt/libfdt_env.h b/libfdt/libfdt_env.h
|
|
index eb20538..6a61e6a 100644
|
|
index eb20538..6a61e6a 100644
|
|
--- a/libfdt/libfdt_env.h
|
|
--- a/libfdt/libfdt_env.h
|
|
+++ b/libfdt/libfdt_env.h
|
|
+++ b/libfdt/libfdt_env.h
|
|
-@@ -1,4 +1,8 @@
|
|
|
|
- /* SPDX-License-Identifier: (GPL-2.0-or-later OR BSD-2-Clause) */
|
|
|
|
|
|
+@@ -1,3 +1,7 @@
|
|
+#ifdef _LIBFDT_ENV_H
|
|
+#ifdef _LIBFDT_ENV_H
|
|
+#warning "Please consider updating your kernel and/or u-boot version"
|
|
+#warning "Please consider updating your kernel and/or u-boot version"
|
|
+#define LIBFDT_ENV_H
|
|
+#define LIBFDT_ENV_H
|
|
@@ -63,5 +58,5 @@ index eb20538..6a61e6a 100644
|
|
#define LIBFDT_ENV_H
|
|
#define LIBFDT_ENV_H
|
|
/*
|
|
/*
|
|
--
|
|
--
|
|
-2.21.0
|
|
|
|
|
|
+2.19.2
|
|
|
|
|