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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [rtos/] [ecos-3.0/] [packages/] [devs/] [watchdog/] [powerpc/] [mpc5xx/] [current/] [cdl/] [watchdog_mpc5xx.cdl] - Blame information for rev 786

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 786 skrzyp
# ====================================================================
2
#
3
#      watchdog_mpc5xx.cdl
4
#
5
#      eCos watchdog for powerpc/mpc5xx driver 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 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):      Bob Koninckx
43
# Contributors:   Bob Koninckx
44
# Date:           2003-05-19
45
#
46
#####DESCRIPTIONEND####
47
#
48
# ====================================================================
49
 
50
cdl_package CYGPKG_DEVICES_WATCHDOG_MPC5xx {
51
    parent        CYGPKG_IO_WATCHDOG
52
    active_if     CYGPKG_IO_WATCHDOG
53
    display       "mpc5xx watchdog driver"
54
    requires      CYGPKG_HAL_POWERPC_MPC5xx
55
    hardware
56
    compile       watchdog_mpc5xx.cxx
57
    implements    CYGINT_WATCHDOG_HW_IMPLEMENTATIONS
58
        implements    CYGINT_WATCHDOG_RESETS_ON_TIMEOUT
59
    active_if     CYGIMP_WATCHDOG_HARDWARE
60
 
61
    cdl_option CYGIMP_WATCHDOG_HARDWARE {
62
        parent    CYGPKG_IO_WATCHDOG_IMPLEMENTATION
63
        display       "Hardware watchdog"
64
        default_value 1
65
        implements    CYGINT_WATCHDOG_IMPLEMENTATIONS
66
    }
67
 
68
        cdl_option CYGNUM_DEVICES_WATCHDOG_POWERPC_MPC5XX_RELOAD {
69
            display "mpc5xx watchog reload value"
70
                flavor  data
71
                default_value 0xffff
72
                legal_values  0 to 0xffff
73
                description "
74
                    This option determines the number of ticks before the watchdog
75
                        times out and resets the board. The watchdog is timed from the
76
                        same clock source as the Periodic interrupt timer (PIT), but
77
                        can be additionaly prescaled by a factor 2048."
78
    }
79
 
80
        cdl_option CYGDAT_DEVICES_WATCHDOG_POWERPC_MPC5XX_PRESCALE {
81
            display "mpc5xx watchdog prescaler"
82
                flavor bool
83
                default_value 1
84
                description "
85
                    This option determines wether to prescale the watchdog timer with
86
                        a factor 2048 or not."
87
    }
88
 
89
    cdl_component CYGPKG_DEVICES_WATCHDOG_POWERPC_MPC5XX_OPTIONS {
90
        display "mpc5xx watchdog build options"
91
        flavor  none
92
        description   "
93
            Package specific build options including control over
94
            compiler flags used only in building this package,
95
            and details of which tests are built."
96
 
97
 
98
        cdl_option CYGPKG_DEVICES_WATCHDOG_POWERPC_MPC5XX_CFLAGS_ADD {
99
            display "Additional compiler flags"
100
            flavor  data
101
            no_define
102
            default_value { "" }
103
            description   "
104
                This option modifies the set of compiler flags for
105
                building the watchdog device. These flags are used in addition
106
                to the set of global flags."
107
        }
108
 
109
        cdl_option CYGPKG_DEVICES_WATCHDOG_POWERPC_MPC5XXX_CFLAGS_REMOVE {
110
            display "Suppressed compiler flags"
111
            flavor  data
112
            no_define
113
            default_value { "" }
114
            description   "
115
                This option modifies the set of compiler flags for
116
                building the watchdog device. These flags are removed from
117
                the set of global flags if present."
118
        }
119
 
120
    }
121
}

powered by: WebSVN 2.1.0

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