~ubuntu-branches/ubuntu/raring/codeblocks/raring-proposed

« back to all changes in this revision

Viewing changes to src/plugins/scriptedwizard/resources/tricore/templates/phyCORE-TC1775/src/setup.c

  • Committer: Bazaar Package Importer
  • Author(s): Cosme Domínguez Díaz
  • Date: 2010-08-09 04:38:38 UTC
  • mfrom: (1.1.1 upstream)
  • mto: This revision was merged to the branch mainline in revision 4.
  • Revision ID: james.westby@ubuntu.com-20100809043838-a59ygguym4eg0jgw
Tags: 10.05-0ubuntu1
* New upstream release. Closes (LP: #322350)
 - Switch to dpkg-source 3.0 (quilt) format
 - Remove unneeded README.source
 - Add debian/get-source-orig script that removes all
   Windows prebuilt binaries
* Bump Standards-Version to 3.9.1
 - Stop shipping *.la files
* debian/control
 - Add cdbs package as Build-Depend
 - Add libbz2-dev and zlib1g-dev packages as
   Build-Depends (needed by libhelp_plugin.so)
 - Remove dpatch package of Build-Depends
 - Add codeblocks-contrib-debug package
 - Split architecture-independent files of codeblocks
   package in codeblocks-common package
* debian/rules
 - Switch to CDBS rules system
 - Add parallel build support
 - Add a call to debian/get-source-orig script
 - Use lzma compression (saves 23,5 MB of free space)
* debian/patches
 - Refresh 01_codeblocks_plugin_path
 - Add 02_no_Makefiles_in_debian_dir to remove any link
   in codeblocks build system to deleted Makefiles of debian directory
 - Drop 02_ftbfs_gcc44 and 03_ftbfs_glib221 (merged in upstream)
* debian/watch
 - Update to use the new host (berlios.de)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*====================================================================
 
2
* Project:  Board Support Package (BSP)
 
3
* Developed using:
 
4
* Function: board initialization table (phyCORE-TC1775)
 
5
*
 
6
* Copyright HighTec EDV-Systeme GmbH 1982-2007
 
7
*====================================================================*/
 
8
 
 
9
#ifdef PHYCORE_TC1775
 
10
#include "phycore_setup.h"
 
11
#else
 
12
#error ERROR: NO TARGET DEFINED!
 
13
#endif /* PHYCORE_TC1775 */
 
14
 
 
15
 
 
16
typedef struct
 
17
{
 
18
        unsigned long addr;
 
19
        unsigned long val;
 
20
} InitTab_t;
 
21
 
 
22
const InitTab_t boardSetupTab[] =
 
23
{
 
24
        {PLL_CLC_ADDR,          VAL_PLLCLC              },
 
25
        {EBU_ADDSEL0_ADDR,      VAL_EBU_ADDSEL0 },
 
26
        {EBU_BUSCON0_ADDR,      VAL_EBU_BUSCON0 },
 
27
        {EBU_ADDSEL1_ADDR,      VAL_EBU_ADDSEL1 },
 
28
        {EBU_BUSCON1_ADDR,      VAL_EBU_BUSCON1 },
 
29
        {EBU_ADDSEL2_ADDR,      VAL_EBU_ADDSEL2 },
 
30
        {EBU_BUSCON2_ADDR,      VAL_EBU_BUSCON2 },
 
31
        {EBU_ADDSEL3_ADDR,      VAL_EBU_ADDSEL3 },
 
32
        {EBU_BUSCON3_ADDR,      VAL_EBU_BUSCON3 },
 
33
        /*
 
34
                This must be done after CSx programming to avoid disabling EBU_CON.CS0FAM
 
35
                (CS0 Fills Address Map)
 
36
         */
 
37
        {EBU_CON_ADDR,          VAL_EBU_CON             },
 
38
        {PMU_EIFCON_ADDR,       VAL_PMU_EIFCON  },
 
39
        {PMU_CON_ADDR,          VAL_PMU_CON             }
 
40
};
 
41
 
 
42
const unsigned long boardSetupTabSize = sizeof(boardSetupTab) / sizeof(InitTab_t);
 
43