summaryrefslogtreecommitdiffstats
path: root/u-boot/include/cramfs/cramfs_fs_sb.h
diff options
context:
space:
mode:
Diffstat (limited to 'u-boot/include/cramfs/cramfs_fs_sb.h')
-rw-r--r--u-boot/include/cramfs/cramfs_fs_sb.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/u-boot/include/cramfs/cramfs_fs_sb.h b/u-boot/include/cramfs/cramfs_fs_sb.h
new file mode 100644
index 0000000..bc23f94
--- /dev/null
+++ b/u-boot/include/cramfs/cramfs_fs_sb.h
@@ -0,0 +1,19 @@
+#ifndef _CRAMFS_FS_SB
+#define _CRAMFS_FS_SB
+
+/*
+ * cramfs super-block data in memory
+ */
+struct cramfs_sb_info {
+ unsigned long magic;
+ unsigned long size;
+ unsigned long blocks;
+ unsigned long files;
+ unsigned long flags;
+#ifdef CONFIG_CRAMFS_LINEAR
+ unsigned long linear_phys_addr;
+ char * linear_virt_addr;
+#endif
+};
+
+#endif