Merge branch 'master' of git://git.denx.de/u-boot
[oweals/u-boot.git] / common / common_fit.c
index 85b33d8c3bc72685ede1e307b1f10b8cfe82ca84..41305d8aa69315e2fd16f18158a01c43f7a08413 100644 (file)
@@ -1,15 +1,13 @@
+// SPDX-License-Identifier: GPL-2.0+
 /*
  * Copyright (C) 2016 Google, Inc
  * Written by Simon Glass <sjg@chromium.org>
- *
- * SPDX-License-Identifier:     GPL-2.0+
  */
 
 #include <common.h>
 #include <errno.h>
 #include <image.h>
-#include <libfdt.h>
-#include <spl.h>
+#include <linux/libfdt.h>
 
 ulong fdt_getprop_u32(const void *fdt, int node, const char *prop)
 {
@@ -74,7 +72,7 @@ int fit_find_config_node(const void *fdt)
        }
 
        if (dflt_conf_node != -ENOENT) {
-               debug("Selecting default config '%s'", dflt_conf_desc);
+               debug("Selecting default config '%s'\n", dflt_conf_desc);
                return dflt_conf_node;
        }