summaryrefslogtreecommitdiff
path: root/include/squashfs.h
diff options
context:
space:
mode:
authorTom Rini <[email protected]>2026-03-26 11:04:41 -0600
committerTom Rini <[email protected]>2026-03-26 11:04:41 -0600
commit80a4c49a4ab2ad06fa84a8b7bdf6e33b3b5101bf (patch)
tree94041e641b12a66eef8c35d991d83fb05409d698 /include/squashfs.h
parent5673d25fd82a00eb5a2bf5761b3aa92de0e9e4e1 (diff)
parent868233099d873cc8e2f8b99f609bdbaed421eab7 (diff)
Merge patch series "Introduce SQUASHFS support in SPL"
Richard Genoud <[email protected]> says: SquashFS has support in U-Boot, but not in SPL. This series adds the possibility for the SPL to load files from SquashFS partitions. This is useful, for instance, when there's a SquashFS rootfs containing U-Boot binary. NB: falcon mode is not supported yet. Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'include/squashfs.h')
-rw-r--r--include/squashfs.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/squashfs.h b/include/squashfs.h
index 7489eefa1f2..83ed8a49442 100644
--- a/include/squashfs.h
+++ b/include/squashfs.h
@@ -10,7 +10,10 @@
#ifndef _SQFS_H_
#define _SQFS_H_
-struct disk_partition;
+#include <fs.h>
+#include <blk.h>
+#include <part.h>
+#include <linux/types.h>
int sqfs_opendir(const char *filename, struct fs_dir_stream **dirsp);
int sqfs_readdir(struct fs_dir_stream *dirs, struct fs_dirent **dentp);