First public contribution.
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".
8 // Initial Contributors:
9 // Nokia Corporation - initial contribution.
14 // wins\specific\NAND_PLAT.H
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.
21 #ifndef __NAND_PLAT_H__
22 #define __NAND_PLAT_H__
24 #include <nanddevice.h>
25 #include <nand_fbr_offset.h>
28 This table contains a list of all of the NAND flash devices currently
29 supported by the NAND flash solution.
32 const TNandDeviceInfo gDeviceTable[] = {
33 { ESamsungId, 0x73, 1024, 32, 512, 16, 9, 14, 20, 5, 0, 6, TDeviceFlags(0) }, // 16MB
35 { TManufacturerId(0), 0, 0, 0, 0, 0, 0, 0, TDeviceFlags(0) }
39 Defining __USE_CUSTOM_ALLOCATOR enables the use of the NAND Flash Allocator.
42 #define __USE_CUSTOM_ALLOCATOR
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
49 const TInt KNandMinibootUsed = ETrue;
50 const TInt KNandCoreldrRelocatable = ETrue;