summaryrefslogtreecommitdiff
path: root/bsp/allwinner/d1/applications/romfs.c
blob: 7d2882928bb9fbea22b8643f1548e19ce0229c0d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#include <dfs_romfs.h>

static const struct romfs_dirent _romfs_root[] = {
    {ROMFS_DIRENT_DIR, "etc", RT_NULL, 0},
    {ROMFS_DIRENT_DIR, "mnt", RT_NULL, 0},
    {ROMFS_DIRENT_DIR, "boot", RT_NULL, 0},
    {ROMFS_DIRENT_DIR, "boot-resource", RT_NULL, 0},
    {ROMFS_DIRENT_DIR, "bin", RT_NULL, 0}
};

const struct romfs_dirent romfs_root = {
    ROMFS_DIRENT_DIR, "/", (rt_uint8_t *)_romfs_root, sizeof(_romfs_root) / sizeof(_romfs_root[0])};