OpenCores
URL https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [rtos/] [ecos-2.0/] [packages/] [hal/] [powerpc/] [mpc8260/] [v2_0/] [cdl/] [hal_powerpc_mpc8260.cdl] - Blame information for rev 307

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 27 unneback
# ====================================================================
2
#
3
#      hal_powerpc_mpc8260.cdl
4
#
5
#      PowerPC/MPC8260 variant architectural HAL package configuration data
6
#
7
# ====================================================================
8
#####ECOSGPLCOPYRIGHTBEGIN####
9
## -------------------------------------------
10
## This file is part of eCos, the Embedded Configurable Operating System.
11
## Copyright (C) 1998, 1999, 2000, 2001, 2002 Red Hat, Inc.
12
## Copyright (C) 2002 Gary Thomas
13
##
14
## eCos is free software; you can redistribute it and/or modify it under
15
## the terms of the GNU General Public License as published by the Free
16
## Software Foundation; either version 2 or (at your option) any later version.
17
##
18
## eCos is distributed in the hope that it will be useful, but WITHOUT ANY
19
## WARRANTY; without even the implied warranty of MERCHANTABILITY or
20
## FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
21
## for more details.
22
##
23
## You should have received a copy of the GNU General Public License along
24
## with eCos; if not, write to the Free Software Foundation, Inc.,
25
## 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
26
##
27
## As a special exception, if other files instantiate templates or use macros
28
## or inline functions from this file, or you compile this file and link it
29
## with other works to produce a work based on this file, this file does not
30
## by itself cause the resulting work to be covered by the GNU General Public
31
## License. However the source code for this file must still be made available
32
## in accordance with section (3) of the GNU General Public License.
33
##
34
## This exception does not invalidate any other reasons why a work based on
35
## this file might be covered by the GNU General Public License.
36
##
37
## Alternative licenses for eCos may be arranged by contacting Red Hat, Inc.
38
## at http://sources.redhat.com/ecos/ecos-license/
39
## -------------------------------------------
40
#####ECOSGPLCOPYRIGHTEND####
41
# ====================================================================
42
######DESCRIPTIONBEGIN####
43
#
44
# Author(s):      pfine
45
# Contributors:   jskov
46
# Date:           2001-12-12
47
#
48
#####DESCRIPTIONEND####
49
#
50
# ====================================================================
51
 
52
cdl_package CYGPKG_HAL_POWERPC_MPC8260 {
53
    display       "PowerPC MPC8260 variant HAL"
54
    parent        CYGPKG_HAL_POWERPC
55
    hardware
56
    include_dir   cyg/hal
57
    define_header hal_powerpc_mpc8260.h
58
    description   "
59
           The PowerPC MPC8260 variant HAL package provides generic support
60
           for this processor variant. It is also necessary to
61
           select a specific target platform HAL package."
62
 
63
    # Note: This should be sub-variant specific to reduce memory use.
64
    define_proc {
65
        puts $cdl_header "#define CYGHWR_HAL_VSR_TABLE (CYGHWR_HAL_POWERPC_VECTOR_BASE + 0x3000)"
66
        puts $cdl_header "#define CYGHWR_HAL_VIRTUAL_VECTOR_TABLE (CYGHWR_HAL_VSR_TABLE + 0x200)"
67
    }
68
 
69
    implements    CYGINT_HAL_POWERPC_VARIANT
70
 
71
    cdl_option CYGHWR_HAL_POWERPC_FPU {
72
        display    "Variant FPU support"
73
        calculated 1
74
    }
75
 
76
    cdl_option CYGPKG_HAL_POWERPC_MSBFIRST {
77
        display    "CPU Variant big-endian"
78
        calculated 1
79
    }
80
 
81
 
82
    define_proc {
83
        puts $::cdl_header "#include "
84
    }
85
 
86
   cdl_option CYGNUM_HAL_DIAG_BAUD {
87
        display       "Baud rate for the HAL diagnostic port"
88
        flavor        data
89
        legal_values  { 50 75 110 "134_5" 150 200 300 600 1200 1800 2400 3600
90
                      4800 7200 9600 14400 19200 38400 57600 115200 230400
91
        }
92
        default_value 38400
93
        description   "
94
            This option specifies the default baud rate (speed) for the
95
            HAL diagnostic port."
96
   }
97
 
98
   cdl_option CYGNUM_HAL_VIRTUAL_VECTOR_COMM_CHANNELS {
99
       display      "Number of communication channels on the board"
100
       flavor       data
101
       calculated   1
102
   }
103
# Ultimately, I would like to change this to 2.
104
 
105
   cdl_option CYGNUM_HAL_VIRTUAL_VECTOR_DEBUG_CHANNEL {
106
       display          "Debug serial port"
107
       active_if        CYGPRI_HAL_VIRTUAL_VECTOR_DEBUG_CHANNEL_CONFIGURABLE
108
       flavor data
109
       legal_values     0 to CYGNUM_HAL_VIRTUAL_VECTOR_COMM_CHANNELS-1
110
       default_value    0
111
       description      "
112
           The MPC8260 TS6 board has two serial ports.  This option
113
           chooses which port will be used to connect to a host
114
           running GDB."
115
    }
116
 
117
    cdl_option CYGNUM_HAL_VIRTUAL_VECTOR_CONSOLE_CHANNEL {
118
        display          "Diagnostic serial port"
119
        active_if        CYGPRI_HAL_VIRTUAL_VECTOR_CONSOLE_CHANNEL_CONFIGURABLE
120
        flavor data
121
        legal_values     0 to CYGNUM_HAL_VIRTUAL_VECTOR_COMM_CHANNELS-1
122
        default_value    0
123
        description      "
124
           The MPC8260 TS6 board has two serial ports.  This option
125
           chooses which port will be used for diagnostic output."
126
    }
127
 
128
    # This option is only used when USE_ROM_MONITOR is enabled - but
129
    # it cannot be a sub-option to that option, since the code uses the
130
    # definition in a preprocessor comparison.
131
    cdl_option CYGNUM_HAL_VIRTUAL_VECTOR_ROM_DEBUG_CHANNEL {
132
        display          "Debug serial port used by ROM monitor"
133
        flavor data
134
        legal_values     0 to CYGNUM_HAL_VIRTUAL_VECTOR_COMM_CHANNELS-1
135
        default_value    0
136
        description      "
137
            The MPC8260 TS6 board has two serial ports.  This
138
            option tells the code which port is in use by the ROM
139
            monitor. It should only be necessary to change this
140
            option if a non-standard configurated eCos GDB stub is
141
            used."
142
    }
143
 
144
    compile       var_intr.c var_misc.c variant.S quicc2_diag.c
145
}

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.