]> git.sur5r.net Git - u-boot/blobdiff - lib/of_live.c
Makefile: drop unused cpp_cfg macro
[u-boot] / lib / of_live.c
index 148865c9678d75f1f2d76101e164bf8fd886b4a9..c49e95e38c7c79922a4f6e72aface9e0a7e500ba 100644 (file)
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0+
 /*
  * Copyright 2009 Benjamin Herrenschmidt, IBM Corp
  * benh@kernel.crashing.org
@@ -5,8 +6,6 @@
  * Based on parts of drivers/of/fdt.c from Linux v4.9
  * Modifications for U-Boot
  * Copyright (c) 2017 Google, Inc
- *
- * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <common.h>
@@ -16,8 +15,6 @@
 #include <dm/of_access.h>
 #include <linux/err.h>
 
-DECLARE_GLOBAL_DATA_PTR;
-
 static void *unflatten_dt_alloc(void **mem, unsigned long size,
                                unsigned long align)
 {