sl@0: // Copyright (c) 2004-2009 Nokia Corporation and/or its subsidiary(-ies).
sl@0: // All rights reserved.
sl@0: // This component and the accompanying materials are made available
sl@0: // under the terms of the License "Eclipse Public License v1.0"
sl@0: // which accompanies this distribution, and is available
sl@0: // at the URL "http://www.eclipse.org/legal/epl-v10.html".
sl@0: //
sl@0: // Initial Contributors:
sl@0: // Nokia Corporation - initial contribution.
sl@0: //
sl@0: // Contributors:
sl@0: //
sl@0: // Description:
sl@0: // template\template_variant\inc\variantmediadef.h
sl@0: // Media definitions for Template variant.
sl@0: // Each Media Driver requires the following definitions
sl@0: // DRIVECOUNT - The total number of local drive object to be assigned to the Media Driver (1-KMaxLocalDrives)
sl@0: // DRIVELIST - A list of the local drive numbers (each separated with a comma) to be assigned to the Media Driver.
sl@0: // Each in the range 0 - (KMaxLocalDrives-1). Total number of drive numbers must equal the value
sl@0: // of DRIVECOUNT.
sl@0: // NUMMEDIA - The total number of media objects to be assigned to the Media Driver.
sl@0: // DRIVENAME - A name for the drive group.
sl@0: // For the complete set of media definitions
sl@0: // - The total number of local drive objects assigned should not exceed KMaxLocalDrives.
sl@0: // - Each Media Driver should be assigned a unique set of drive numbers - no conflicts between Media Drivers.
sl@0: // - The total number of media objects assigned should not exceed KMaxLocalDrives.
sl@0: // 
sl@0: // WARNING: This file contains some APIs which are internal and are subject
sl@0: //          to change without notice. Such APIs should therefore not be used
sl@0: //          outside the Kernel and Hardware Services package.
sl@0: //
sl@0:  
sl@0: #ifndef __VARIANTMEDIADEF_H__
sl@0: #define __VARIANTMEDIADEF_H__
sl@0: 
sl@0: // Variant parameters for IRAM Media Driver (MEDINT.PDD)
sl@0: #define IRAM_DRIVECOUNT 1
sl@0: #define IRAM_DRIVELIST 0
sl@0: #define IRAM_NUMMEDIA 1	
sl@0: #define IRAM_DRIVENAME "IRam"
sl@0: 
sl@0: // Variant parameters for LFFS Media Driver (MEDLFS.PDD)
sl@0: #define LFFS_DRIVECOUNT 1
sl@0: #define LFFS_DRIVELIST 8
sl@0: #define LFFS_NUMMEDIA 1	
sl@0: #define LFFS_DRIVENAME "Flash"
sl@0: 
sl@0: // Variant parameters for the MMC Controller (EPBUSMMC.DLL)
sl@0: #define MMC0_DRIVECOUNT 1
sl@0: #define MMC0_DRIVELIST 3
sl@0: #define MMC0_NUMMEDIA 1	
sl@0: #define MMC0_DRIVENAME "MultiMediaCard0"
sl@0: 
sl@0: // Variant parameters for the NAND media driver (MEDNAND.PDD)
sl@0: // Note that the NANDLOADER code expects the are to be 2 drives/partitions 
sl@0: #define NAND_DRIVECOUNT 2
sl@0: #define NAND_DRIVELIST 6,7
sl@0: #define NAND_NUMMEDIA 1	
sl@0: #define NAND_DRIVENAME "Nand"
sl@0: 
sl@0: #endif