]> git.sur5r.net Git - u-boot/blobdiff - tools/fdtgrep.c
Merge git://git.denx.de/u-boot-socfpga
[u-boot] / tools / fdtgrep.c
index 7af77b7afe34085a7e305f765e6b50c012179a2c..f2b8b71ed743478be80cb91375a7670c7f6e38d9 100644 (file)
@@ -1,16 +1,18 @@
+// SPDX-License-Identifier: GPL-2.0+
 /*
  * Copyright (c) 2013, Google Inc.
  * Written by Simon Glass <sjg@chromium.org>
  *
- * SPDX-License-Identifier:    GPL-2.0+
- *
  * Perform a grep of an FDT either displaying the source subset or producing
  * a new .dtb subset which can be used as required.
  */
 
 #include <assert.h>
 #include <ctype.h>
+#include <errno.h>
 #include <getopt.h>
+#include <fcntl.h>
+#include <stdbool.h>
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>