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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [rtos/] [ecos-3.0/] [packages/] [hal/] [arm/] [mac7100/] [var/] [current/] [cdl/] [hal_arm_mac7100.cdl] - Blame information for rev 786

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 786 skrzyp
# ====================================================================
2
#
3
#      hal_arm_mac7100.cdl
4
#
5
#      Freescale MAC7100 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, 2003, 2006 Free Software Foundation, Inc.
12
##
13
## eCos is free software; you can redistribute it and/or modify it under
14
## the terms of the GNU General Public License as published by the Free
15
## Software Foundation; either version 2 or (at your option) any later
16
## version.
17
##
18
## eCos is distributed in the hope that it will be useful, but WITHOUT
19
## ANY 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
24
## along with eCos; if not, write to the Free Software Foundation, Inc.,
25
## 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
26
##
27
## As a special exception, if other files instantiate templates or use
28
## macros or inline functions from this file, or you compile this file
29
## and link it with other works to produce a work based on this file,
30
## this file does not by itself cause the resulting work to be covered by
31
## the GNU General Public License. However the source code for this file
32
## must still be made available in accordance with section (3) of the GNU
33
## General Public License v2.
34
##
35
## This exception does not invalidate any other reasons why a work based
36
## on this file might be covered by the GNU General Public License.
37
## -------------------------------------------
38
## ####ECOSGPLCOPYRIGHTEND####
39
# ====================================================================
40
######DESCRIPTIONBEGIN####
41
#
42
# Author(s):      Ilija Koco 
43
# Contributors:
44
# Date:           2006-02-03
45
#
46
#####DESCRIPTIONEND####
47
#
48
# ====================================================================
49
 
50
cdl_package CYGPKG_HAL_ARM_MAC7100 {
51
    display       "Freescale MAC7100 variant HAL"
52
    parent        CYGPKG_HAL_ARM
53
    define_header hal_arm_mac7100.h
54
    include_dir   cyg/hal
55
    hardware
56
    description   "
57
        The MAC7100 HAL package provides the support needed to run
58
        eCos on Freescale MAC7100 based targets."
59
 
60
    compile       flash_security.S hal_diag.c mac7100_misc.c
61
 
62
    implements    CYGINT_HAL_DEBUG_GDB_STUBS
63
    implements    CYGINT_HAL_DEBUG_GDB_STUBS_BREAK
64
    implements    CYGINT_HAL_VIRTUAL_VECTOR_SUPPORT
65
    implements    CYGINT_HAL_VIRTUAL_VECTOR_COMM_BAUD_SUPPORT
66
    implements    CYGINT_HAL_ARM_ARCH_ARM7
67
    implements    CYGINT_HAL_ARM_THUMB_ARCH
68
    implements    CYGINT_HAL_ARM_BIGENDIAN
69
 
70
    requires      CYGHWR_HAL_ARM_BIGENDIAN == 1
71
 
72
    requires      CYGPKG_IO_SERIAL_FREESCALE_ESCI_H
73
 
74
    # Let the architectural HAL see this variant's files
75
    define_proc {
76
        puts $::cdl_system_header "#define CYGBLD_HAL_ARM_VAR_IO_H"
77
        puts $::cdl_system_header "#define CYGBLD_HAL_ARM_VAR_ARCH_H"
78
    }
79
 
80
    cdl_option CYGHWR_HAL_ARM_MAC7100 {
81
        display        "MAC7100 variant used"
82
        flavor         data
83
        default_value  {"MAC7111"}
84
        legal_values   {"MAC7111" "MAC7121" "MAC7116" }
85
        description    "
86
            The MAC7100 microcontroller family has several variants,
87
            the main differences being the amount of on-chip SRAM,
88
            peripherals and their layout. This option allows the
89
            platform HALs to select the specific microcontroller being
90
            used."
91
    }
92
 
93
    cdl_option CYGHWR_HAL_ARM_MAC7100_FIQ {
94
        display       "handle FIQ as an IRQ"
95
        flavor        bool
96
        default_value 0
97
        description   "
98
            Enable this option if you need to handle FIQ interrupts in the
99
            normal way, i.e. a FIQ interrupt will be treated as a normal IRQ
100
            using the highest priority
101
            "
102
    }
103
 
104
    cdl_option CYGHWR_HAL_ARM_MAC7100_INTC_FIQDEF {
105
        display       "Set FIQDEF"
106
        flavor        data
107
        default_value CYGHWR_HAL_ARM_MAC7100_FIQ ? 14 : 16
108
        legal_values 0 to 32
109
        description   "
110
            Set maximum level that shall be routed to IRQ.
111
            "
112
    }
113
 
114
    cdl_option CYGHWR_HAL_ARM_MAC7100_INTC_EMASK {
115
        display       "enable INTC to automatically handle CLMASK"
116
        flavor        data
117
        default_value 0x20
118
        legal_values 0x00 0x20
119
        description   "
120
            Enable this option if you need INTC to automatically mask
121
            lower level IRQ.
122
 
123
            - 0x00 - disable
124
            - 0x20 - enable
125
 
126
            "
127
    }
128
}

powered by: WebSVN 2.1.0

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