diff -r 000000000000 -r bde4ae8d615e os/boardsupport/emulator/emulatorbsp/inc/nand_plat.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/os/boardsupport/emulator/emulatorbsp/inc/nand_plat.h Fri Jun 15 03:10:57 2012 +0200 @@ -0,0 +1,52 @@ +// Copyright (c) 2003-2009 Nokia Corporation and/or its subsidiary(-ies). +// All rights reserved. +// This component and the accompanying materials are made available +// under the terms of "Eclipse Public License v1.0" +// which accompanies this distribution, and is available +// at the URL "http://www.eclipse.org/legal/epl-v10.html". +// +// Initial Contributors: +// Nokia Corporation - initial contribution. +// +// Contributors: +// +// Description: +// wins\specific\NAND_PLAT.H +// +// WARNING: This file contains some APIs which are internal and are subject +// to change without notice. Such APIs should therefore not be used +// outside the Kernel and Hardware Services package. +// + +#ifndef __NAND_PLAT_H__ +#define __NAND_PLAT_H__ + +#include +#include + +/** +This table contains a list of all of the NAND flash devices currently +supported by the NAND flash solution. +@internalTechnology +*/ +const TNandDeviceInfo gDeviceTable[] = { + { ESamsungId, 0x73, 1024, 32, 512, 16, 9, 14, 20, 5, 0, 6, TDeviceFlags(0) }, // 16MB + // Last entry + { TManufacturerId(0), 0, 0, 0, 0, 0, 0, 0, TDeviceFlags(0) } + }; + +/** +Defining __USE_CUSTOM_ALLOCATOR enables the use of the NAND Flash Allocator. +@internalTechnology +*/ +#define __USE_CUSTOM_ALLOCATOR + +/** +The following constants support relocation of the NAND FBR for this platform +KNandFbrSectorOffset is the third of three constants required - it is defined in nand_fbr_offset.h +@publishedPartner +*/ +const TInt KNandMinibootUsed = ETrue; +const TInt KNandCoreldrRelocatable = ETrue; + +#endif