Last change
on this file since 24d5973 was
87db514,
checked in by Amar Takhar <amar@…>, on 04/16/15 at 19:26:21
|
Initial commit of the umon repository.
Prior to this three changes were made:
- Remove umon_ prefix from parent directories.
- Collapse main/target/ into main/
- Remove ports/template/flashtest.scr.ucon script.
|
-
Property mode set to
100755
|
File size:
998 bytes
|
Line | |
---|
1 | /* tfsdev.h: |
---|
2 | This file is ONLY included by tfs.c. It is seperate from tfs.h because |
---|
3 | it is target-specific. It is not part of config.h because it includes |
---|
4 | the declaration of the tfsdevtbl[]. |
---|
5 | A prefix in the name of the file determines what device is used to store |
---|
6 | that file. If no prefix is found the the first device in the table is |
---|
7 | used as a default. The syntax of the prefix is "//STRING/" where STRING |
---|
8 | is user-definable, but the initial // and final / are required by tfs |
---|
9 | code. |
---|
10 | */ |
---|
11 | |
---|
12 | struct tfsdev tfsdevtbl[] = { |
---|
13 | { "//FLASH/", |
---|
14 | TFSSTART, |
---|
15 | TFSEND, |
---|
16 | TFSSPARE, |
---|
17 | TFSSPARESIZE, |
---|
18 | TFSSECTORCOUNT, |
---|
19 | TFS_DEVTYPE_FLASH, }, |
---|
20 | |
---|
21 | #ifdef FLASHRAM_BASE |
---|
22 | { "//RAM/", |
---|
23 | FLASHRAM_BASE, |
---|
24 | FLASHRAM_END-FLASHRAM_SECTORSIZE, |
---|
25 | FLASHRAM_END-FLASHRAM_SECTORSIZE+1, |
---|
26 | FLASHRAM_SECTORSIZE, |
---|
27 | FLASHRAM_SECTORCOUNT-1, |
---|
28 | TFS_DEVTYPE_RAM | TFS_DEVINFO_AUTOINIT, }, |
---|
29 | #endif |
---|
30 | { 0, TFSEOT,0,0,0,0,0 } |
---|
31 | }; |
---|
Note: See
TracBrowser
for help on using the repository browser.