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

« back to all changes in this revision

Viewing changes to src/plugins/scriptedwizard/resources/tricore/templates/TriBoard-TC1920/h/triboard_setup.h

  • 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: TriBoard-TC1920 platform specific setup values
 
5
*
 
6
* Copyright HighTec EDV-Systeme GmbH 1982-2008
 
7
*====================================================================*/
 
8
 
 
9
#ifndef __TRIBOARD_SETUP_H__
 
10
#define __TRIBOARD_SETUP_H__
 
11
 
 
12
#include "tc1920/scu/addr.h"
 
13
#include "tc1920/ebu/addr.h"
 
14
#include "tc1920/pmu/addr.h"
 
15
 
 
16
/* initialization value for PLLCLC : set clock to 96 MHz */
 
17
#define VAL_PLLCLC                      0x010F0144
 
18
 
 
19
 
 
20
/* initialization values for External Bus */
 
21
#define VAL_EBU_CON                     0x00F9FF68
 
22
#define VAL_EBU_BFCON           0x00000053
 
23
#define VAL_EBU_ADDRSEL0        0xA4000051
 
24
#define VAL_EBU_BUSCON0         0x00860000
 
25
#define VAL_EBU_BUSAP0          0x23FF0100
 
26
#define VAL_EBU_ADDRSEL1        0xA0000031
 
27
#define VAL_EBU_BUSCON1         0x30B20000
 
28
#define VAL_EBU_BUSAP1          0x00000000
 
29
#define VAL_EBU_ADDRSEL2        0xA2000021
 
30
#define VAL_EBU_BUSCON2         0x30B20000
 
31
#define VAL_EBU_BUSAP2          0x00000000
 
32
 
 
33
#define VAL_EBU_SDRMCON0        0x01161075
 
34
#define VAL_EBU_SDRMMOD0        0x00000023
 
35
#define VAL_EBU_SDRMREF0        0x000000CB
 
36
#define VAL_EBU_SDRMCON1        0x01162075
 
37
#define VAL_EBU_SDRMMOD1        0x00000023
 
38
#define VAL_EBU_SDRMREF1        0x000000CB
 
39
 
 
40
#define VAL_EBU_ADDRSEL3        0x00000001
 
41
#define VAL_EBU_BUSCON3         0x80415FFF
 
42
#define VAL_EBU_BUSAP3          0x22070000
 
43
 
 
44
#ifdef ENABLE_ICACHE
 
45
/* enable instruction cache */
 
46
#define VAL_PMU_CON0            0x00000000
 
47
#else
 
48
/* disable instruction cache */
 
49
#define VAL_PMU_CON0            0x00000002
 
50
#endif /* ENABLE_ICACHE */
 
51
 
 
52
 
 
53
#endif /* __TRIBOARD_SETUP_H__ */