sl@0: // Copyright (c) 2003-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 "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: // wins\specific\NAND_PLAT.H 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 __NAND_PLAT_H__ sl@0: #define __NAND_PLAT_H__ sl@0: sl@0: #include sl@0: #include sl@0: sl@0: /** sl@0: This table contains a list of all of the NAND flash devices currently sl@0: supported by the NAND flash solution. sl@0: @internalTechnology sl@0: */ sl@0: const TNandDeviceInfo gDeviceTable[] = { sl@0: { ESamsungId, 0x73, 1024, 32, 512, 16, 9, 14, 20, 5, 0, 6, TDeviceFlags(0) }, // 16MB sl@0: // Last entry sl@0: { TManufacturerId(0), 0, 0, 0, 0, 0, 0, 0, TDeviceFlags(0) } sl@0: }; sl@0: sl@0: /** sl@0: Defining __USE_CUSTOM_ALLOCATOR enables the use of the NAND Flash Allocator. sl@0: @internalTechnology sl@0: */ sl@0: #define __USE_CUSTOM_ALLOCATOR sl@0: sl@0: /** sl@0: The following constants support relocation of the NAND FBR for this platform sl@0: KNandFbrSectorOffset is the third of three constants required - it is defined in nand_fbr_offset.h sl@0: @publishedPartner sl@0: */ sl@0: const TInt KNandMinibootUsed = ETrue; sl@0: const TInt KNandCoreldrRelocatable = ETrue; sl@0: sl@0: #endif