blob: 8f996d055ca702963360cb06bfb13afaf646f484 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
#ifndef RVL_SDK_NAND_CHECK_H
#define RVL_SDK_NAND_CHECK_H
#include "common.h"
#include "rvl/NAND/nand.h"
#ifdef __cplusplus
extern "C" {
#endif
typedef enum {
NAND_CHECK_TOO_MANY_APP_BLOCKS = (1 << 0),
NAND_CHECK_TOO_MANY_APP_FILES = (1 << 1),
NAND_CHECK_TOO_MANY_USER_BLOCKS = (1 << 2),
NAND_CHECK_TOO_MANY_USER_FILES = (1 << 3),
} NANDCheckFlags;
NANDResult NANDCheck(u32 neededBlocks, u32 neededFiles, u32 *answer);
#ifdef __cplusplus
}
#endif
#endif
|