]> git.ipfire.org Git - thirdparty/u-boot.git/blobdiff - lib/lz4_wrapper.c
sysreset: switch to using SYSRESET_POWER_OFF for poweroff
[thirdparty/u-boot.git] / lib / lz4_wrapper.c
index 6dc8b764b3f59ecb4bd9fedf46d72832a57e2488..1c68e67452d985a4433759346ce22f5b9645258b 100644 (file)
@@ -1,11 +1,11 @@
+// SPDX-License-Identifier: GPL 2.0+ OR BSD-3-Clause
 /*
  * Copyright 2015 Google Inc.
- *
- * SPDX-License-Identifier: GPL 2.0+ BSD-3-Clause
  */
 
 #include <common.h>
 #include <compiler.h>
+#include <image.h>
 #include <linux/kernel.h>
 #include <linux/types.h>
 
@@ -24,8 +24,6 @@ typedef uint64_t U64;
 /* Unaltered (except removing unrelated code) from github.com/Cyan4973/lz4. */
 #include "lz4.c"       /* #include for inlining, do not link! */
 
-#define LZ4F_MAGIC 0x184D2204
-
 struct lz4_frame_header {
        u32 magic;
        union {