|
1 /* |
|
2 * Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of "Eclipse Public License v1.0" |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: |
|
15 * ne1_tb\inc\variantmediadef.h |
|
16 * Media definitions for NE1_TBVariant variant. |
|
17 * Each Media Driver requires the following definitions |
|
18 * DRIVECOUNT - The total number of local drive object to be assigned to the Media Driver (1-KMaxLocalDrives) |
|
19 * DRIVELIST - A list of the local drive numbers (each separated with a comma) to be assigned to the Media Driver. |
|
20 * Each in the range 0 - (KMaxLocalDrives-1). Total number of drive numbers must equal the value |
|
21 * of DRIVECOUNT. |
|
22 * NUMMEDIA - The total number of media objects to be assigned to the Media Driver. |
|
23 * DRIVENAME - A name for the drive group. |
|
24 * For the complete set of media definitions |
|
25 * - The total number of local drive objects assigned should not exceed KMaxLocalDrives. |
|
26 * - Each Media Driver should be assigned a unique set of drive numbers - no conflicts between Media Drivers. |
|
27 * - The total number of media objects assigned should not exceed KMaxLocalDrives. |
|
28 * |
|
29 */ |
|
30 |
|
31 |
|
32 |
|
33 #ifndef __VARIANTMEDIADEF_H__ |
|
34 #define __VARIANTMEDIADEF_H__ |
|
35 |
|
36 // Variant parameters for IRAM Media Driver (MEDINT.PDD) |
|
37 #define IRAM_DRIVECOUNT 1 |
|
38 #define IRAM_DRIVELIST 0 |
|
39 #define IRAM_NUMMEDIA 1 |
|
40 #define IRAM_DRIVENAME "IRam" |
|
41 |
|
42 // Variant parameters for LFFS Media Driver (MEDLFS.PDD) |
|
43 #define LFFS_DRIVECOUNT 1 |
|
44 #define LFFS_DRIVELIST 8 |
|
45 #define LFFS_NUMMEDIA 1 |
|
46 #define LFFS_DRIVENAME "Flash" |
|
47 |
|
48 // Variant parameters for the MMC Controller (EPBUSMMC.DLL) |
|
49 #define MMC0_DRIVECOUNT 1 |
|
50 #define MMC0_DRIVELIST 1 |
|
51 #define MMC0_NUMMEDIA 1 |
|
52 #define MMC0_DRIVENAME "MultiMediaCard0" |
|
53 |
|
54 // Variant parameters for the SDIO Controller (EPBUSSDIO.DLL) |
|
55 #define SDIO0_DRIVECOUNT 1 |
|
56 #define SDIO0_DRIVELIST 4 |
|
57 #define SDIO0_NUMMEDIA 1 |
|
58 #define SDIO0_DRIVENAME "SecureDiskCard0" |
|
59 |
|
60 // Variant parameters for the NAND media driver (MEDNAND.PDD) |
|
61 #define NAND_DRIVECOUNT 10 |
|
62 #define NAND_DRIVELIST 2,3,5,6,7,9,10,11,12,13 |
|
63 |
|
64 #define NAND_NUMMEDIA 1 |
|
65 #define NAND_DRIVENAME "Nand" |
|
66 |
|
67 |
|
68 #ifdef __NAND_DEMAND_PAGING__ |
|
69 |
|
70 #ifdef __NAND_DATA_PAGING__ |
|
71 #define PAGING_TYPE DPagingDevice::ERom | DPagingDevice::ECode | DPagingDevice::EData |
|
72 #else |
|
73 #define PAGING_TYPE DPagingDevice::ERom | DPagingDevice::ECode |
|
74 #endif // __NAND_DATA_PAGING__ |
|
75 |
|
76 #define NAND_PAGEDRIVELIST 2,3,5,6,7,9,10,11,12,13 // code paging from all drives. |
|
77 #define NAND_PAGEDRIVECOUNT 10 |
|
78 |
|
79 |
|
80 #define NUM_PAGES 2 // defines the size of fragment |
|
81 #endif // __DEMAND_PAGING__ |
|
82 |
|
83 #define NFE_DRIVECOUNT 3 |
|
84 #define NFE_DRIVELIST 1 ,2 ,13 |
|
85 #define NFE_DRIVELETTERLIST 3 ,8 ,-1 // EDRive? IDs of the each instance. (EDriveD,EDriveI,UNMAPPED from estartnandtestpaged.txt) |
|
86 |
|
87 #define NFE_PAGEDRIVECOUNT 1 |
|
88 #define NFE_PAGEDRIVELIST 2 // code paging on first writable partition.in slot #2 |
|
89 |
|
90 #define NFE_NUM_PAGES 2 // the number of pages for paging. i.e. the largest block size of any attached media |
|
91 |
|
92 #define NFE_INSTANCE_COUNT 2 // the number of NFE media driver instances |
|
93 #define NFE_INSTANCE_DRIVE_COUNTS 1,2 // the number of drives in NFE_DRIVELIST for each instance of the driver |
|
94 #define NFE_INSTANCE_PAGEDRIVE_COUNTS 0,1 // the number of drives in NFE_PAGEDRIVELIST for each instance of the driver |
|
95 #define NFE_INSTANCE_NUM_PAGES 0,4 // the number of pages for each instance of the driver |
|
96 #define NFE_INSTANCE_PAGING_TYPE 0,DPagingDevice::ECode | DPagingDevice::EData // the paging type for each instance of the driver |
|
97 |
|
98 #endif |