|
1 /* |
|
2 * Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of "Eclipse Public License v1.0" |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 #ifndef __NAVIENGINE_OBY__ |
|
21 #define __NAVIENGINE_OBY__ |
|
22 |
|
23 // Generate final built ROM name and ROM image version |
|
24 define LANGID 01 |
|
25 define BUILDNO 0 |
|
26 define VERSION 0.01 |
|
27 |
|
28 #define _ARMV5 |
|
29 |
|
30 // Pull in variant specific base kernel files |
|
31 #define __NE1_TB__ |
|
32 |
|
33 //#define WITH_FLEXIBLE_MM |
|
34 |
|
35 #ifdef SMP |
|
36 // Use SMP-enabled kernel |
|
37 #define _KABI armv5smp |
|
38 #if !defined WITH_FLEXIBLE_MM |
|
39 // SMP on ARM requires Flexible Memory Model |
|
40 #define WITH_FLEXIBLE_MM |
|
41 #endif |
|
42 // allow to specify maximum number of CPU cores used in system |
|
43 #ifdef SMP_NUM_CPUS |
|
44 patchdata ekern.exe @ KSMPNumCpus SMP_NUM_CPUS |
|
45 #endif |
|
46 #endif |
|
47 |
|
48 // NB! Don't change VARID: bootstrap hardcodes matching ID pattern |
|
49 define VARID 0x09080001 |
|
50 define VARIANT NE1_TB |
|
51 define ROMMEGS 40 /* !! HEX !! */ |
|
52 #ifdef WITH_FLEXIBLE_MM |
|
53 define MEMMODEL_PLATFORM_NAME FNE1_TB |
|
54 #else |
|
55 define MEMMODEL_PLATFORM_NAME NE1_TB |
|
56 #endif |
|
57 define PLATFORM_NAME NE1_TB |
|
58 |
|
59 // Use colour resources |
|
60 #define COLOR |
|
61 |
|
62 REM defines for IrDA options |
|
63 REM Uncomment the line below to enable IrDA to use a Jeteye ESI09680 pod with serial card adapter |
|
64 REM #define _ENABLE_IRDA_POD_ |
|
65 REM define which port IrDA uses |
|
66 define IRPOD_ESK irda_port2.esk |
|
67 |
|
68 // Pull in network support for Ethernet |
|
69 #define HAS_ETHERNET |
|
70 |
|
71 #ifdef ENABLE_RESTRICTED_CODE |
|
72 // Pull in USB |
|
73 #define EUSBC |
|
74 |
|
75 #if !defined (USE_SD_MMC) && !defined (USE_SDIO_SD_MMC) |
|
76 #define USE_MMC |
|
77 #endif |
|
78 |
|
79 REM Pick up NAND2 components if the ROM is built with -D _NAND2 |
|
80 #ifdef _NAND2 |
|
81 #define WITH_NAND2 |
|
82 #endif |
|
83 #endif // ENABLE_RESTRICTED_CODE |
|
84 |
|
85 //#define WITH_LFFS |
|
86 |
|
87 #ifndef INST_ARM4 |
|
88 // Enable VFP |
|
89 #define VFPHELPERS |
|
90 #endif |
|
91 |
|
92 #endif // __NAVIENGINE_OBY__ |