1.1 --- a/epoc32/include/beagle/variantmediadef.h Wed Mar 31 12:27:01 2010 +0100
1.2 +++ b/epoc32/include/beagle/variantmediadef.h Wed Mar 31 12:33:34 2010 +0100
1.3 @@ -1,57 +1,51 @@
1.4 -// Copyright (c) 2004-2009 Nokia Corporation and/or its subsidiary(-ies).
1.5 -// All rights reserved.
1.6 -// This component and the accompanying materials are made available
1.7 -// 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
1.8 -// which accompanies this distribution, and is available
1.9 -// at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
1.10 -//
1.11 -// Initial Contributors:
1.12 -// Nokia Corporation - initial contribution.
1.13 -//
1.14 -// Contributors:
1.15 -//
1.16 -// Description:
1.17 -// wins\inc\variantmediadef.h
1.18 -// Media definitions for the Wins Variant.
1.19 -// Each Media Driver requires the following definitions
1.20 -// DRIVECOUNT - The total number of local drive object to be assigned to the Media Driver (1-KMaxLocalDrives)
1.21 -// DRIVELIST - A list of the local drive numbers (each separated with a comma) to be assigned to the Media Driver.
1.22 -// Each in the range 0 - (KMaxLocalDrives-1). Total number of drive numbers must equal the value
1.23 -// of DRIVECOUNT.
1.24 -// NUMMEDIA - The total number of media objects to be assigned to the Media Driver.
1.25 -// DRIVENAME - A name for the drive group.
1.26 -// For the complete set of media definitions
1.27 -// - The total number of local drive objects assigned should not exceed KMaxLocalDrives.
1.28 -// - Each Media Driver should be assigned a unique set of drive numbers - no conflicts between Media Drivers.
1.29 -// - The total number of media objects assigned should not exceed KMaxLocalDrives.
1.30 -//
1.31 -//
1.32 -
1.33 -#ifndef __VARIANTMEDIADEF_H__
1.34 -#define __VARIANTMEDIADEF_H__
1.35 -
1.36 -// Variant parameters for IRAM Media Driver (MEDINT.PDD)
1.37 -#define IRAM_DRIVECOUNT 1
1.38 -#define IRAM_DRIVELIST 0
1.39 -#define IRAM_NUMMEDIA 1
1.40 -#define IRAM_DRIVENAME "IRam"
1.41 -
1.42 -// Variant parameters for LFFS Media Driver (MEDLFS.PDD)
1.43 -#define LFFS_DRIVECOUNT 1
1.44 -#define LFFS_DRIVELIST 8
1.45 -#define LFFS_NUMMEDIA 1
1.46 -#define LFFS_DRIVENAME "Flash"
1.47 -
1.48 -// Variant parameters for the MMC Controller (EPBUSMMC.DLL)
1.49 -#define MMC0_DRIVECOUNT 4
1.50 -#define MMC0_DRIVELIST 1,2,3,4
1.51 -#define MMC0_NUMMEDIA 4
1.52 -#define MMC0_DRIVENAME "MultiMediaCard0"
1.53 -
1.54 -// Variant parameters for NAND flash media driver (mednand.pdd)
1.55 -#define NAND_DRIVECOUNT 3
1.56 -#define NAND_DRIVELIST 5,6,9
1.57 -#define NAND_NUMMEDIA 1
1.58 -#define NAND_DRIVENAME "Nand"
1.59 -
1.60 -#endif
1.61 +// Copyright (c) 2004-2009 Nokia Corporation and/or its subsidiary(-ies).
1.62 +// All rights reserved.
1.63 +// This component and the accompanying materials are made available
1.64 +// under the terms of the License "Eclipse Public License v1.0"
1.65 +// which accompanies this distribution, and is available
1.66 +// at the URL "http://www.eclipse.org/legal/epl-v10.html".
1.67 +//
1.68 +// Initial Contributors:
1.69 +// Nokia Corporation - initial contribution.
1.70 +//
1.71 +// Contributors:
1.72 +//
1.73 +// Description:
1.74 +// omap3530/beagleboard/inc/variantmediadef.h
1.75 +// Media definitions for Beagle variant.
1.76 +// Each Media Driver requires the following definitions
1.77 +// DRIVECOUNT - The total number of local drive object to be assigned to the Media Driver (1-KMaxLocalDrives)
1.78 +// DRIVELIST - A list of the local drive numbers (each separated with a comma) to be assigned to the Media Driver.
1.79 +// Each in the range 0 - (KMaxLocalDrives-1). Total number of drive numbers must equal the value
1.80 +// of DRIVECOUNT.
1.81 +// NUMMEDIA - The total number of media objects to be assigned to the Media Driver.
1.82 +// DRIVENAME - A name for the drive group.
1.83 +// For the complete set of media definitions
1.84 +// - The total number of local drive objects assigned should not exceed KMaxLocalDrives.
1.85 +// - Each Media Driver should be assigned a unique set of drive numbers - no conflicts between Media Drivers.
1.86 +// - The total number of media objects assigned should not exceed KMaxLocalDrives.
1.87 +//
1.88 +
1.89 +#ifndef __VARIANTMEDIADEF_H__
1.90 +#define __VARIANTMEDIADEF_H__
1.91 +
1.92 +// Variant parameters for IRAM Media Driver (MEDINT.PDD)
1.93 +#define IRAM_DRIVECOUNT 1
1.94 +#define IRAM_DRIVELIST 0
1.95 +#define IRAM_NUMMEDIA 1
1.96 +#define IRAM_DRIVENAME "IRam"
1.97 +
1.98 +// Variant parameters for the MMC Controller (EPBUSMMC.DLL)
1.99 +#define MMC0_DRIVECOUNT 1
1.100 +#define MMC0_DRIVELIST 3
1.101 +#define MMC0_NUMMEDIA 1
1.102 +#define MMC0_DRIVENAME "MultiMediaCard0"
1.103 +
1.104 +// Variant parameters for the NAND media driver (MEDNAND.PDD)
1.105 +// Note that the NANDLOADER code expects the are to be 2 drives/partitions
1.106 +#define NAND_DRIVECOUNT 2
1.107 +#define NAND_DRIVELIST 6,7
1.108 +#define NAND_NUMMEDIA 1
1.109 +#define NAND_DRIVENAME "Nand"
1.110 +
1.111 +#endif