summaryrefslogtreecommitdiff
path: root/components
diff options
context:
space:
mode:
authorShell <[email protected]>2024-07-22 11:51:23 +0800
committerBernard Xiong <[email protected]>2024-07-29 20:16:54 +0800
commitcfa3ecfa9eee0b580d59e5a24cb374a72a5fc34e (patch)
tree77f2b4e22cc09f37b5fe04ca03b40fa0d1d3899e /components
parent20c04e51f87d4662c525b2f853d83d89e9650ee5 (diff)
bsp: cvitek/c906B: feat: add config of bootfs
To support more choice on bootfs. romfs, cromfs are now supported on risc_v_big platform. Changes: - added mount operations under port - added prototypes for cromfs init APIs Signed-off-by: Shell <[email protected]> Reviewed-on: https://github.com/RT-Thread/rt-thread/pull/9229 Reviewed-by: Chen Wang <[email protected]>
Diffstat (limited to 'components')
-rw-r--r--components/dfs/dfs_v2/filesystems/cromfs/dfs_cromfs.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/components/dfs/dfs_v2/filesystems/cromfs/dfs_cromfs.h b/components/dfs/dfs_v2/filesystems/cromfs/dfs_cromfs.h
index 97339bc510..a22bd5e433 100644
--- a/components/dfs/dfs_v2/filesystems/cromfs/dfs_cromfs.h
+++ b/components/dfs/dfs_v2/filesystems/cromfs/dfs_cromfs.h
@@ -11,6 +11,9 @@
#ifndef __DFS_CROMFS_H__
#define __DFS_CROMFS_H__
+#include <stdint.h>
+
int dfs_cromfs_init(void);
+uint8_t *cromfs_get_partition_data(uint32_t *len);
#endif /*__DFS_CROMFS_H__*/