summaryrefslogtreecommitdiff
path: root/include/cramfs/cramfs_fs_sb.h
diff options
context:
space:
mode:
authorwdenk <wdenk>2004-01-03 21:24:46 +0000
committerwdenk <wdenk>2004-01-03 21:24:46 +0000
commitdd875c767e6fb0f4fecfb799b706d84562a7acee (patch)
treeb008f2786749b0a6455d2de9a01146e0ee6453b2 /include/cramfs/cramfs_fs_sb.h
parentc935d3bd8b1c7f681ad58e64bd0548e1b26a7d2f (diff)
downloadu-boot-imx-dd875c767e6fb0f4fecfb799b706d84562a7acee.zip
u-boot-imx-dd875c767e6fb0f4fecfb799b706d84562a7acee.tar.gz
u-boot-imx-dd875c767e6fb0f4fecfb799b706d84562a7acee.tar.bz2
* Patch by Robert Schwebel, 15 Dec 2003:
add support for cramfs (uses JFFS2 command interface)
Diffstat (limited to 'include/cramfs/cramfs_fs_sb.h')
-rw-r--r--include/cramfs/cramfs_fs_sb.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/include/cramfs/cramfs_fs_sb.h b/include/cramfs/cramfs_fs_sb.h
new file mode 100644
index 0000000..bc23f94
--- /dev/null
+++ b/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