]> 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 487d39ef0247a9b7f086561e0170719048b72a5c..1c68e67452d985a4433759346ce22f5b9645258b 100644 (file)
@@ -5,6 +5,7 @@
 
 #include <common.h>
 #include <compiler.h>
+#include <image.h>
 #include <linux/kernel.h>
 #include <linux/types.h>
 
@@ -23,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 {