epoc32/include/beagle/variantmediadef.h
branchSymbian3
changeset 4 837f303aceeb
parent 3 e1b950c65cb4
equal deleted inserted replaced
3:e1b950c65cb4 4:837f303aceeb
     1 // Copyright (c) 2004-2009 Nokia Corporation and/or its subsidiary(-ies).
     1 // Copyright (c) 2004-2009 Nokia Corporation and/or its subsidiary(-ies).
     2 // All rights reserved.
     2 // All rights reserved.
     3 // This component and the accompanying materials are made available
     3 // This component and the accompanying materials are made available
     4 // under the terms of the License "Symbian Foundation License v1.0" to Symbian Foundation members and "Symbian Foundation End User License Agreement v1.0" to non-members
     4 // under the terms of the License "Eclipse Public License v1.0"
     5 // which accompanies this distribution, and is available
     5 // which accompanies this distribution, and is available
     6 // at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
     7 //
     7 //
     8 // Initial Contributors:
     8 // Initial Contributors:
     9 // Nokia Corporation - initial contribution.
     9 // Nokia Corporation - initial contribution.
    10 //
    10 //
    11 // Contributors:
    11 // Contributors:
    12 //
    12 //
    13 // Description:
    13 // Description:
    14 // wins\inc\variantmediadef.h
    14 // omap3530/beagleboard/inc/variantmediadef.h
    15 // Media definitions for the Wins Variant.
    15 // Media definitions for Beagle variant.
    16 // Each Media Driver requires the following definitions
    16 // Each Media Driver requires the following definitions
    17 // DRIVECOUNT - The total number of local drive object to be assigned to the Media Driver (1-KMaxLocalDrives)
    17 // DRIVECOUNT - The total number of local drive object to be assigned to the Media Driver (1-KMaxLocalDrives)
    18 // DRIVELIST - A list of the local drive numbers (each separated with a comma) to be assigned to the Media Driver.
    18 // DRIVELIST - A list of the local drive numbers (each separated with a comma) to be assigned to the Media Driver.
    19 // Each in the range 0 - (KMaxLocalDrives-1). Total number of drive numbers must equal the value
    19 // Each in the range 0 - (KMaxLocalDrives-1). Total number of drive numbers must equal the value
    20 // of DRIVECOUNT.
    20 // of DRIVECOUNT.
    22 // DRIVENAME - A name for the drive group.
    22 // DRIVENAME - A name for the drive group.
    23 // For the complete set of media definitions
    23 // For the complete set of media definitions
    24 // - The total number of local drive objects assigned should not exceed KMaxLocalDrives.
    24 // - The total number of local drive objects assigned should not exceed KMaxLocalDrives.
    25 // - Each Media Driver should be assigned a unique set of drive numbers - no conflicts between Media Drivers.
    25 // - Each Media Driver should be assigned a unique set of drive numbers - no conflicts between Media Drivers.
    26 // - The total number of media objects assigned should not exceed KMaxLocalDrives.
    26 // - The total number of media objects assigned should not exceed KMaxLocalDrives.
    27 // 
       
    28 //
    27 //
    29  
    28  
    30 #ifndef __VARIANTMEDIADEF_H__
    29 #ifndef __VARIANTMEDIADEF_H__
    31 #define __VARIANTMEDIADEF_H__
    30 #define __VARIANTMEDIADEF_H__
    32 
    31 
    34 #define IRAM_DRIVECOUNT 1
    33 #define IRAM_DRIVECOUNT 1
    35 #define IRAM_DRIVELIST 0
    34 #define IRAM_DRIVELIST 0
    36 #define IRAM_NUMMEDIA 1	
    35 #define IRAM_NUMMEDIA 1	
    37 #define IRAM_DRIVENAME "IRam"
    36 #define IRAM_DRIVENAME "IRam"
    38 
    37 
    39 // Variant parameters for LFFS Media Driver (MEDLFS.PDD)
       
    40 #define LFFS_DRIVECOUNT 1
       
    41 #define LFFS_DRIVELIST 8
       
    42 #define LFFS_NUMMEDIA 1	
       
    43 #define LFFS_DRIVENAME "Flash"
       
    44 
       
    45 // Variant parameters for the MMC Controller (EPBUSMMC.DLL)
    38 // Variant parameters for the MMC Controller (EPBUSMMC.DLL)
    46 #define MMC0_DRIVECOUNT 4
    39 #define MMC0_DRIVECOUNT 1
    47 #define MMC0_DRIVELIST 1,2,3,4
    40 #define MMC0_DRIVELIST 3
    48 #define MMC0_NUMMEDIA 4	
    41 #define MMC0_NUMMEDIA 1	
    49 #define MMC0_DRIVENAME "MultiMediaCard0"
    42 #define MMC0_DRIVENAME "MultiMediaCard0"
    50 
    43 
    51 // Variant parameters for NAND flash media driver (mednand.pdd)
    44 // Variant parameters for the NAND media driver (MEDNAND.PDD)
    52 #define NAND_DRIVECOUNT 3
    45 // Note that the NANDLOADER code expects the are to be 2 drives/partitions 
    53 #define NAND_DRIVELIST 5,6,9
    46 #define NAND_DRIVECOUNT 2
    54 #define NAND_NUMMEDIA 1
    47 #define NAND_DRIVELIST 6,7
       
    48 #define NAND_NUMMEDIA 1	
    55 #define NAND_DRIVENAME "Nand"
    49 #define NAND_DRIVENAME "Nand"
    56 
    50 
    57 #endif
    51 #endif