Changeset 3c96bee in rtems for cpukit/sapi


Ignore:
Timestamp:
Sep 12, 2013, 1:32:07 PM (6 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, master
Children:
0282e83
Parents:
78b85286
git-author:
Sebastian Huber <sebastian.huber@…> (09/12/13 13:32:07)
git-committer:
Sebastian Huber <sebastian.huber@…> (09/19/13 11:16:06)
Message:

JFFS2: Add RTEMS support

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/sapi/include/confdefs.h

    r78b85286 r3c96bee  
    238238 *     CONFIGURE_FILESYSTEM_DOSFS    - DOS File System, uses libblock
    239239 *     CONFIGURE_FILESYSTEM_RFS      - RTEMS File System (RFS), uses libblock
     240 *     CONFIGURE_FILESYSTEM_JFFS2    - Journalling Flash File System, Version 2
    240241 *
    241242 *   Combinations:
     
    265266    #define CONFIGURE_FILESYSTEM_DOSFS
    266267    #define CONFIGURE_FILESYSTEM_RFS
     268    #define CONFIGURE_FILESYSTEM_JFFS2
    267269  #endif
    268270
     
    284286        defined(CONFIGURE_FILESYSTEM_NFS) || \
    285287        defined(CONFIGURE_FILESYSTEM_DOSFS) || \
    286         defined(CONFIGURE_FILESYSTEM_RFS)
     288        defined(CONFIGURE_FILESYSTEM_RFS) || \
     289        defined(CONFIGURE_FILESYSTEM_JFFS2)
    287290        #error "Configured filesystems but root filesystem was not IMFS!"
    288291        #error "Filesystems could be disabled, DEVFS is root, or"
     
    439442  #define CONFIGURE_FILESYSTEM_ENTRY_RFS \
    440443    { RTEMS_FILESYSTEM_TYPE_RFS, rtems_rfs_rtems_initialise }
     444#endif
     445
     446/**
     447 * JFFS2
     448 */
     449#if !defined(CONFIGURE_FILESYSTEM_ENTRY_JFFS2) && \
     450    defined(CONFIGURE_FILESYSTEM_JFFS2)
     451  #include <rtems/jffs2.h>
     452  #define CONFIGURE_FILESYSTEM_ENTRY_JFFS2 \
     453    { RTEMS_FILESYSTEM_TYPE_JFFS2, rtems_jffs2_initialize }
    441454#endif
    442455
     
    514527        CONFIGURE_FILESYSTEM_ENTRY_RFS,
    515528      #endif
     529      #if defined(CONFIGURE_FILESYSTEM_JFFS2) && \
     530          defined(CONFIGURE_FILESYSTEM_ENTRY_JFFS2)
     531        CONFIGURE_FILESYSTEM_ENTRY_JFFS2,
     532      #endif
    516533      CONFIGURE_FILESYSTEM_NULL
    517534    };
Note: See TracChangeset for help on using the changeset viewer.