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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [rtos/] [ecos-3.0/] [packages/] [devs/] [i2c/] [m68k/] [mcf52xx/] [current/] [cdl/] [i2c_mcf52xx.cdl] - Blame information for rev 786

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 786 skrzyp
# ====================================================================
2
#
3
#      i2c_mcf52xx.cdl
4
#
5
#      eCos MCF52xx I2C configuration data
6
#
7
# ====================================================================
8
## ####ECOSGPLCOPYRIGHTBEGIN####
9
## -------------------------------------------
10
## This file is part of eCos, the Embedded Configurable Operating System.
11
## Copyright (C) 2005, 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):      Uwe Kindler
43
# Contributors:   Bart Veer
44
# Date:           2005-10-23
45
#
46
#####DESCRIPTIONEND####
47
# ====================================================================
48
 
49
 
50
cdl_package CYGPKG_DEVS_I2C_MCF52xx {
51
    display         "I2C driver for coldfire MCF52xx family"
52
    doc             ref/devs-i2c-m68k-mcf52xx-part.html
53
 
54
    parent          CYGPKG_IO_I2C
55
    active_if       CYGPKG_IO_I2C
56
    active_if       CYGPKG_HAL_M68K_MCF52xx
57
 
58
    description   "
59
           This package provides a generic I2C device driver for the on-chip
60
           I2C modules in MCF52xx ColdFire processors."
61
 
62
    include_dir     cyg/io
63
    compile         i2c_mcf52xx.c
64
 
65
    cdl_option CYGHWR_DEVS_I2C_MCF52xx_MULTIPLE_BUSES {
66
        display         "Target hardware may have multiple MCF52xx I2C buses"
67
        flavor          bool
68
        default_value   0
69
        description "
70
            The MCF52xx I2C driver can support multiple I2C bus devices, but
71
          typically the coldfire processor only provides a single device. By
72
          default the driver assumes only a single device is present and will
73
          optimize for that case, using constant definitions provided by the
74
          platform HAL rather than per-device structure fields. If the hardware
75
          has multiple I2C bus devices, or if a singleton bus is instantiated
76
          by some other package and hence the platform HAL cannot provide the
77
          necessary definitions, then this option should be enabled."
78
    }
79
 
80
    cdl_component CYGPKG_DEVS_I2C_MCF52xx_OPTIONS {
81
        display         "I2C driver build options"
82
        flavor          none
83
        active_if       { CYGINT_DEVS_I2C_MCF52xx_BUS_DEVICES > 0 }
84
        description   "
85
            Package specific build options including control over
86
            compiler flags used only in building the MCF52xx I2C
87
            bus driver."
88
 
89
        cdl_option CYGPKG_DEVS_I2C_MCF52xx_CFLAGS_ADD {
90
            display "Additional compiler flags"
91
            flavor  data
92
            no_define
93
            default_value { "" }
94
            description   "
95
                This option modifies the set of compiler flags for
96
                building the MCF52xx I2C bus driver. These flags are
97
                used in addition to the set of global flags."
98
        }
99
 
100
        cdl_option CYGPKG_DEVS_I2C_MCF52xx_CFLAGS_REMOVE {
101
            display "Suppressed compiler flags"
102
            flavor  data
103
            no_define
104
            default_value { "" }
105
            description   "
106
                This option modifies the set of compiler flags for
107
                building the MCF52xx I2C bus driver. These flags are
108
                removed from the set of global flags if present."
109
        }
110
    }
111
}

powered by: WebSVN 2.1.0

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