epoc32/include/beagle/variantmediadef.h
author William Roberts <williamr@symbian.org>
Wed, 31 Mar 2010 12:33:34 +0100
branchSymbian3
changeset 4 837f303aceeb
parent 3 e1b950c65cb4
permissions -rw-r--r--
Current Symbian^3 public API header files (from PDK 3.0.h)
This is the epoc32/include tree with the "platform" subtrees removed, and
all but a selected few mbg and rsg files removed.
williamr@4
     1
// Copyright (c) 2004-2009 Nokia Corporation and/or its subsidiary(-ies).
williamr@4
     2
// All rights reserved.
williamr@4
     3
// This component and the accompanying materials are made available
williamr@4
     4
// under the terms of the License "Eclipse Public License v1.0"
williamr@4
     5
// which accompanies this distribution, and is available
williamr@4
     6
// at the URL "http://www.eclipse.org/legal/epl-v10.html".
williamr@4
     7
//
williamr@4
     8
// Initial Contributors:
williamr@4
     9
// Nokia Corporation - initial contribution.
williamr@4
    10
//
williamr@4
    11
// Contributors:
williamr@4
    12
//
williamr@4
    13
// Description:
williamr@4
    14
// omap3530/beagleboard/inc/variantmediadef.h
williamr@4
    15
// Media definitions for Beagle variant.
williamr@4
    16
// Each Media Driver requires the following definitions
williamr@4
    17
// DRIVECOUNT - The total number of local drive object to be assigned to the Media Driver (1-KMaxLocalDrives)
williamr@4
    18
// DRIVELIST - A list of the local drive numbers (each separated with a comma) to be assigned to the Media Driver.
williamr@4
    19
// Each in the range 0 - (KMaxLocalDrives-1). Total number of drive numbers must equal the value
williamr@4
    20
// of DRIVECOUNT.
williamr@4
    21
// NUMMEDIA - The total number of media objects to be assigned to the Media Driver.
williamr@4
    22
// DRIVENAME - A name for the drive group.
williamr@4
    23
// For the complete set of media definitions
williamr@4
    24
// - The total number of local drive objects assigned should not exceed KMaxLocalDrives.
williamr@4
    25
// - Each Media Driver should be assigned a unique set of drive numbers - no conflicts between Media Drivers.
williamr@4
    26
// - The total number of media objects assigned should not exceed KMaxLocalDrives.
williamr@4
    27
//
williamr@4
    28
 
williamr@4
    29
#ifndef __VARIANTMEDIADEF_H__
williamr@4
    30
#define __VARIANTMEDIADEF_H__
williamr@4
    31
williamr@4
    32
// Variant parameters for IRAM Media Driver (MEDINT.PDD)
williamr@4
    33
#define IRAM_DRIVECOUNT 1
williamr@4
    34
#define IRAM_DRIVELIST 0
williamr@4
    35
#define IRAM_NUMMEDIA 1	
williamr@4
    36
#define IRAM_DRIVENAME "IRam"
williamr@4
    37
williamr@4
    38
// Variant parameters for the MMC Controller (EPBUSMMC.DLL)
williamr@4
    39
#define MMC0_DRIVECOUNT 1
williamr@4
    40
#define MMC0_DRIVELIST 3
williamr@4
    41
#define MMC0_NUMMEDIA 1	
williamr@4
    42
#define MMC0_DRIVENAME "MultiMediaCard0"
williamr@4
    43
williamr@4
    44
// Variant parameters for the NAND media driver (MEDNAND.PDD)
williamr@4
    45
// Note that the NANDLOADER code expects the are to be 2 drives/partitions 
williamr@4
    46
#define NAND_DRIVECOUNT 2
williamr@4
    47
#define NAND_DRIVELIST 6,7
williamr@4
    48
#define NAND_NUMMEDIA 1	
williamr@4
    49
#define NAND_DRIVENAME "Nand"
williamr@4
    50
williamr@4
    51
#endif