os/boardsupport/emulator/emulatorbsp/inc/nand_plat.h
author sl
Tue, 10 Jun 2014 14:32:02 +0200
changeset 1 260cb5ec6c19
permissions -rw-r--r--
Update contrib.
     1 // Copyright (c) 2003-2009 Nokia Corporation and/or its subsidiary(-ies).
     2 // All rights reserved.
     3 // This component and the accompanying materials are made available
     4 // under the terms of "Eclipse Public License v1.0"
     5 // which accompanies this distribution, and is available
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
     7 //
     8 // Initial Contributors:
     9 // Nokia Corporation - initial contribution.
    10 //
    11 // Contributors:
    12 //
    13 // Description:
    14 // wins\specific\NAND_PLAT.H
    15 // 
    16 // WARNING: This file contains some APIs which are internal and are subject
    17 //          to change without notice. Such APIs should therefore not be used
    18 //          outside the Kernel and Hardware Services package.
    19 //
    20 
    21 #ifndef __NAND_PLAT_H__
    22 #define __NAND_PLAT_H__
    23 
    24 #include <nanddevice.h>
    25 #include <nand_fbr_offset.h>
    26 
    27 /**
    28 This table contains a list of all of the NAND flash devices currently
    29 supported by the NAND flash solution.
    30 @internalTechnology
    31 */
    32 const TNandDeviceInfo gDeviceTable[] = {
    33 		{ ESamsungId, 0x73, 1024, 32, 512, 16, 9, 14,  20, 5, 0, 6, TDeviceFlags(0) },				// 16MB
    34 		// Last entry
    35 		{ TManufacturerId(0),    0,    0,  0,   0,  0, 0,  0, TDeviceFlags(0) }
    36 		};
    37 
    38 /**
    39 Defining __USE_CUSTOM_ALLOCATOR enables the use of the NAND Flash Allocator.
    40 @internalTechnology
    41 */
    42 #define __USE_CUSTOM_ALLOCATOR
    43 
    44 /**
    45 The following constants support relocation of the NAND FBR for this platform
    46 KNandFbrSectorOffset is the third of three constants required - it is defined in nand_fbr_offset.h
    47 @publishedPartner
    48 */
    49 const TInt KNandMinibootUsed		=	ETrue;
    50 const TInt KNandCoreldrRelocatable	=	ETrue;
    51 
    52 #endif