]> git.karo-electronics.de Git - karo-tx-redboot.git/blob - packages/hal/arm/xscale/pxa2x0/v2_0/cdl/hal_arm_xscale_pxa2x0.cdl
9122599f775afe2a2c72bf390c5abbfd416c8384
[karo-tx-redboot.git] / packages / hal / arm / xscale / pxa2x0 / v2_0 / cdl / hal_arm_xscale_pxa2x0.cdl
1 # ====================================================================
2 #
3 #      hal_arm_xscale_pxa2x0.cdl
4 #
5 #      Intel PXA2X0 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 #
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 version.
16 #
17 # eCos is distributed in the hope that it will be useful, but WITHOUT ANY
18 # WARRANTY; without even the implied warranty of MERCHANTABILITY or
19 # FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
20 # for more details.
21 #
22 # You should have received a copy of the GNU General Public License along
23 # with eCos; if not, write to the Free Software Foundation, Inc.,
24 # 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
25 #
26 # As a special exception, if other files instantiate templates or use macros
27 # or inline functions from this file, or you compile this file and link it
28 # with other works to produce a work based on this file, this file does not
29 # by itself cause the resulting work to be covered by the GNU General Public
30 # License. However the source code for this file must still be made available
31 # in accordance with section (3) of the GNU General Public License.
32 #
33 # This exception does not invalidate any other reasons why a work based on
34 # this file might be covered by the GNU General Public License.
35 #
36 # Alternative licenses for eCos may be arranged by contacting Red Hat, Inc.
37 # at http://sources.redhat.com/ecos/ecos-license
38 # -------------------------------------------
39 #####ECOSGPLCOPYRIGHTEND####
40 # ====================================================================
41 ######DESCRIPTIONBEGIN####
42 #
43 # Author(s):      <knud.woehler@microplex.de>
44 # Date:           2003-01-06
45 #
46 #####DESCRIPTIONEND####
47 #
48 # ====================================================================
49
50 cdl_package CYGPKG_HAL_ARM_XSCALE_PXA2X0 {
51     display       "ARM PXA2X0 architecture"
52     parent        CYGPKG_HAL_ARM
53     hardware
54     include_dir   cyg/hal
55     define_header hal_arm_xscale_pxa2x0.h
56     description   "
57         This HAL variant package provides generic
58         support for the Intel PXA2x0 processors. It is also
59         necessary to select a specific target platform HAL
60         package."
61
62     implements    CYGINT_HAL_ARM_ARCH_PXA2X0
63     implements    CYGINT_HAL_VIRTUAL_VECTOR_COMM_BAUD_SUPPORT
64
65         define_proc {
66                 puts $::cdl_header "#define CYGBLD_HAL_VAR_INTS_H <cyg/hal/hal_var_ints.h>"
67                 puts $::cdl_header "#define CYGBLD_HAL_VAR_H <cyg/hal/hal_pxa2x0.h>"
68                 puts $::cdl_system_header "#define CYGBLD_HAL_ARM_VAR_IO_H"
69         }
70         
71     compile       hal_diag.c pxa2x0_misc.c
72     
73         # Real-time clock/counter specifics
74         cdl_component CYGNUM_HAL_RTC_CONSTANTS {
75                 display       "Real-time clock constants"
76                 flavor        none
77                 no_define
78     
79                 cdl_option CYGNUM_HAL_RTC_NUMERATOR {
80                         display       "Real-time clock numerator"
81                         flavor        data
82                         default_value 1000000000
83                 }
84                 
85                 cdl_option CYGNUM_HAL_RTC_DENOMINATOR {
86                         display       "Real-time clock denominator"
87                         flavor        data
88                         default_value 100
89                         description   "
90                                 This option selects the heartbeat rate for the real-time clock.
91                                 The rate is specified in ticks per second.  Change this value
92                                 with caution - too high and your system will become saturated
93                                 just handling clock interrupts, too low and some operations
94                                 such as thread scheduling may become sluggish."
95                 }
96                 
97                 cdl_option CYGNUM_HAL_RTC_PERIOD {
98                         display       "Real-time clock period"
99                         flavor        data
100                         default_value (3686400/CYGNUM_HAL_RTC_DENOMINATOR)
101                 }
102     }
103     
104         # UART
105         cdl_interface CYGHWR_HAL_ARM_PXA2X0_FFUART {
106                 display   "FFUART available as diagnostic/debug channel"
107                 description "
108                         The PXA2X0 chip has multiple serial channels which may be
109                         used for different things on different platforms.  This
110                         interface allows a platform to indicate that the specified
111                         serial port can be used as a diagnostic and/or debug channel."
112         }
113         
114         cdl_interface CYGHWR_HAL_ARM_PXA2X0_BTUART {
115                 display   "BTUART available as diagnostic/debug channel"
116                 description "
117                         The PXA2X0 chip has multiple serial channels which may be
118                         used for different things on different platforms.  This
119                         interface allows a platform to indicate that the specified
120                         serial port can be used as a diagnostic and/or debug channel."
121         }
122
123         cdl_interface CYGHWR_HAL_ARM_PXA2X0_STUART {
124                 display   "STUART available as diagnostic/debug channel"
125                 description "
126                         The PXA2X0 chip has multiple serial channels which may be
127                         used for different things on different platforms.  This
128                         interface allows a platform to indicate that the specified
129                         serial port can be used as a diagnostic and/or debug channel."
130         }
131
132 }
133
134
135
136