Go to the source code of this file.
#define MS02NV_CSR 0x400000 /* control & status register */ |
#define MS02NV_CSR_BATT_OFF 0x02 /* battery disabled */ |
#define MS02NV_CSR_BATT_OK 0x01 /* battery OK */ |
#define MS02NV_DIAG 0x0003f8 /* diagnostic status */ |
#define MS02NV_DIAG_FAIL 0x08 /* SRAM test failed */ |
#define MS02NV_DIAG_RO 0x02 /* SRAM r/o test done */ |
#define MS02NV_DIAG_RW 0x04 /* SRAM r/w test done */ |
#define MS02NV_DIAG_SIZE_MASK 0xf0 /* SRAM size mask */ |
#define MS02NV_DIAG_SIZE_SHIFT 0x10 /* SRAM size shift (left) */ |
#define MS02NV_DIAG_TEST 0x01 /* SRAM test done (?) */ |
#define MS02NV_ID 0x03021966 /* MS02-NV magic ID value */ |
#define MS02NV_MAGIC 0x0003fc /* MS02-NV magic ID */ |
#define MS02NV_RAM 0x001000 /* user-exposed RAM start */ |
#define MS02NV_VALID 0x000400 /* valid data magic ID */ |
#define MS02NV_VALID_ID 0xbd100248 /* valid data magic ID value */ |