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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [rtos/] [ecos-3.0/] [packages/] [devs/] [eth/] [cortexm/] [a2f200_eval/] [current/] [cdl/] [a2f200_eval.cdl] - Blame information for rev 786

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 786 skrzyp
# ==========================================================================
2
#
3
#      a2f200_eval.cdl
4
#
5
#      Ethernet driver specifics for Actel Smartfusion (A2F200) board
6
#
7
##==========================================================================
8
## ####ECOSGPLCOPYRIGHTBEGIN####
9
## -------------------------------------------
10
## This file is part of eCos, the Embedded Configurable Operating System.
11
## Copyright (C) 2011 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):    ccoutand
43
# Contributors:
44
# Date:         2011-05-04
45
# Purpose:
46
# Description:  Ethernet driver specifics for Actel Smartfusion (A2F200)
47
#               board
48
#
49
#####DESCRIPTIONEND####
50
#
51
# ==========================================================================
52
 
53
 
54
cdl_package CYGPKG_DEVS_ETH_CORTEXM_A2F200_EVAL {
55
    display       "Actel Smartfusion (A2F200) kit Ethernet support"
56
    description   "
57
        Ethernet driver specifics for Actel Smartfusion (A2F200) board"
58
 
59
    parent        CYGPKG_IO_ETH_DRIVERS
60
    active_if     CYGPKG_IO_ETH_DRIVERS
61
    active_if     CYGPKG_HAL_CORTEXM
62
    active_if     CYGPKG_HAL_CORTEXM_A2FXXX
63
 
64
    requires      CYGPKG_DEVS_ETH_CORTEXM_A2FXXX
65
 
66
    include_dir   cyg/io
67
 
68
    define_proc {
69
        puts $::cdl_system_header "#define CYGDAT_DEVS_CORTEXM_A2FXXX_ETH_CDL "
70
        puts $::cdl_system_header "#define CYGDAT_DEVS_CORTEXM_A2FXXX_ETH_INL "
71
    }
72
 
73
    cdl_component CYGPKG_DEVS_ETH_CORTEXM_A2F200_EVAL_ETH0 {
74
        display       "Actel Smartfusion (A2F200) Ethernet port 0 driver"
75
        flavor        bool
76
        default_value 1
77
        description   "
78
            This option includes the Ethernet device driver on the
79
            Actel Smartfusion (A2F200) motherboard."
80
 
81
        implements CYGHWR_NET_DRIVERS
82
        implements CYGHWR_NET_DRIVER_ETH0
83
 
84
        cdl_option CYGDAT_DEVS_ETH_CORTEXM_A2F200_EVAL_ETH0_NAME {
85
            display       "Device name for the Ethernet port 0 driver"
86
            flavor        data
87
            default_value {"\"eth0\""}
88
            description   "
89
                This option sets the name of the Ethernet device for the
90
                Ethernet port 0."
91
        }
92
 
93
        cdl_option CYGDAT_DEVS_ETH_CORTEXM_A2F200_EVAL_ETH0_PHY_ADDRESS {
94
            display       "Ethernet PHY address of the Ethernet port 0 driver"
95
            flavor        data
96
            default_value 0
97
            description   "
98
                This option sets the Ethernet PHY address of the Ethernet device for the
99
                Ethernet port 0."
100
        }
101
 
102
        cdl_component CYGSEM_DEVS_ETH_CORTEXM_A2F200_EVAL_ETH0_SET_ESA {
103
            display       "Set the Ethernet station address"
104
            flavor        bool
105
            default_value !CYGPKG_DEVS_ETH_TSEC_ETH_REDBOOT_HOLDS_ESA
106
            description   "Enabling this option will allow the Ethernet
107
            station address to be forced to the value set by the
108
            configuration.  This may be required if the hardware does
109
            not include a serial EEPROM for the ESA, and if RedBoot's
110
            flash configuration support is not available."
111
 
112
            cdl_option CYGDAT_DEVS_ETH_CORTEXM_A2F200_EVAL_ETH0_ESA {
113
                display       "The Ethernet station address"
114
                flavor        data
115
                default_value {"{0x00, 0x20, 0x0E, 0x10, 0x39, 0x89}"}
116
                description   "The Ethernet station address"
117
            }
118
        }
119
    }
120
 
121
}

powered by: WebSVN 2.1.0

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