|
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 * This file is part of the NE1_TB Variant Base Port |
|
16 * Hardware Configuration Respoitory Platform Specific Layer (PSL) |
|
17 * |
|
18 */ |
|
19 |
|
20 |
|
21 /** |
|
22 @file hcr_psl_config.h |
|
23 File provides NE1 base port configuration for HCR service. It represents a |
|
24 wrapper that brings togther all the ASSP, BSP, Driver, Service setting data |
|
25 for the compiled repository. |
|
26 |
|
27 @internalTechnology |
|
28 */ |
|
29 |
|
30 |
|
31 |
|
32 // -- HCR INCLUDES ------------------------------------------------------------ |
|
33 |
|
34 #include <hcrconfig.h> |
|
35 |
|
36 #include "hcr_hai.h" |
|
37 #include "hcr_uids.h" |
|
38 |
|
39 using namespace HCR; |
|
40 |
|
41 |
|
42 |
|
43 // -- HCR BSP SETTING INCLUDES ------------------------------------------------ |
|
44 |
|
45 // Includes for setting published by base port ASSP/SOC interconnections |
|
46 #include "../../naviengine_assp/hcr/hcr_psl_config_assp_inc.inl" |
|
47 #include "hcr_psl_config_mha_inc.inl" |
|
48 |
|
49 // Includes for MHA Hardware Service internal configuration settings |
|
50 // e.g. #include "../hws/hcr_psl_config_hsw_inc.inl" |
|
51 #include "../../naviengine_assp/csi/hcr_psl_config_csi_inc.inl" |
|
52 |
|
53 // Includes for Physical Device Driver internal configuration settings |
|
54 // e.g. #include "../hws/hcr_psl_config_pdd_inc.inl" |
|
55 |
|
56 |
|
57 |
|
58 // -- HCR BSP LARGE SETTING DATA (LSD) VALUES --------------------------------- |
|
59 |
|
60 // Includes for setting published by base port ASSP/SOC interconnections |
|
61 #include "../../naviengine_assp/hcr/hcr_psl_config_assp_lsd.inl" |
|
62 #include "hcr_psl_config_mha_lsd.inl" |
|
63 |
|
64 // Includes for MHA Hardware Service internal configuration settings |
|
65 // e.g. #include "../hws/hcr_psl_config_hsw_lsd.inl" |
|
66 |
|
67 // Includes for Physical Device Driver internal configuration settings |
|
68 // e.g. #include "../pdd/hcr_psl_config_pdd_lsd.inl" |
|
69 |
|
70 |
|
71 |
|
72 |
|
73 // -- HCR BSP SETTINGS LIST --------------------------------------------------- |
|
74 |
|
75 SSettingC gSettingsList[] = |
|
76 { |
|
77 |
|
78 // Includes for setting published by base port ASSP/SOC interconnections |
|
79 |
|
80 // const HCR::TCategoryUid KHcrCat_MHA_HWBASE = 0x20029482; //< HCR Category for MHA ASSP Hardware Block Base Addresses |
|
81 // const HCR::TCategoryUid KHcrCat_MHA_DMA = 0x20029483; //< HCR Category for MHA ASSP DMA EndPoints |
|
82 #include "../../naviengine_assp/hcr/hcr_psl_config_assp.inl" |
|
83 , |
|
84 //const HCR::TCategoryUid KHcrCat_MHA_Interrupt = 0x20029484; //< HCR Category for MHA SoC Interrupt Source IDs |
|
85 //const HCR::TCategoryUid KHcrCat_MHA_GPIO = 0x20029485; //< HCR Category for MHA SoC GPIO Pin IDs |
|
86 //const HCR::TCategoryUid KHcrCat_MHA_I2S = 0x20029486; //< HCR Category for MHA SoC I2S Bus Channels |
|
87 //const HCR::TCategoryUid KHcrCat_MHA_I2C = 0x20029487; //< HCR Category for MHA SoC I2C Bus IDs |
|
88 //const HCR::TCategoryUid KHcrCat_MHA_SPICSI = 0x20029488; //< HCR Category for MHA SoC SPI/CSI Bus Channels |
|
89 #include "hcr_psl_config_mha.inl" |
|
90 , |
|
91 |
|
92 // Includes for MHA Hardware Service internal configuration settings |
|
93 // e.g. #include "../hws/hcr_psl_config_hsw.inl" |
|
94 // , |
|
95 // Includes for CSI Device Driver internal configuration settings |
|
96 #include "../../naviengine_assp/csi/hcr_psl_config_csi.inl" |
|
97 , |
|
98 |
|
99 // Includes for Physical Device Driver internal configuration settings |
|
100 // e.g. #include "../pdd/hcr_psl_config_mypdd.inl" |
|
101 // , |
|
102 |
|
103 HCR_LAST_SETTING |
|
104 }; |
|
105 |
|
106 |
|
107 SRepositoryBase gHeader = |
|
108 { |
|
109 HCR_FINGER_PRINT, |
|
110 EReposCompiled, |
|
111 KRepositoryFirstVersion, |
|
112 EReposReadOnly, |
|
113 HCR_SETTING_COUNT(gSettingsList) |
|
114 }; |
|
115 |
|
116 |
|
117 GLDEF_C SRepositoryCompiled gRepository = |
|
118 { |
|
119 &gHeader, |
|
120 gSettingsList |
|
121 }; |
|
122 |