1 # ====================================================================
3 # hal_arm_xscale_pxa2x0.cdl
5 # Intel PXA2X0 architectural HAL package configuration data
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.
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.
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
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.
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.
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.
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####
43 # Author(s): <knud.woehler@microplex.de>
46 #####DESCRIPTIONEND####
48 # ====================================================================
50 cdl_package CYGPKG_HAL_ARM_XSCALE_PXA2X0 {
51 display "ARM PXA2X0 architecture"
55 define_header hal_arm_xscale_pxa2x0.h
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
62 implements CYGINT_HAL_ARM_ARCH_PXA2X0
63 implements CYGINT_HAL_VIRTUAL_VECTOR_COMM_BAUD_SUPPORT
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"
71 cdl_option CYGOPT_HAL_ARM_XSCALE_PXA2X0_VARIANT {
72 display "PXA2XX processor model"
74 This option selects the variant of the PXA2XX family (PXA25x
75 or PXA27x) to support."
77 legal_values { "PXA25X" "PXA27X" }
78 default_value { "PXA25X" }
83 # Real-time clock/counter specifics
84 cdl_component CYGNUM_HAL_RTC_CONSTANTS {
85 display "Real-time clock constants"
89 cdl_option CYGNUM_HAL_RTC_NUMERATOR {
90 display "Real-time clock numerator"
92 default_value 1000000000
95 cdl_option CYGNUM_HAL_RTC_DENOMINATOR {
96 display "Real-time clock denominator"
100 This option selects the heartbeat rate for the real-time clock.
101 The rate is specified in ticks per second. Change this value
102 with caution - too high and your system will become saturated
103 just handling clock interrupts, too low and some operations
104 such as thread scheduling may become sluggish."
107 cdl_option CYGNUM_HAL_RTC_PERIOD {
108 display "Real-time clock period"
110 default_value (3686400/CYGNUM_HAL_RTC_DENOMINATOR)
115 cdl_interface CYGHWR_HAL_ARM_PXA2X0_FFUART {
116 display "FFUART available as diagnostic/debug channel"
118 The PXA2X0 chip has multiple serial channels which may be
119 used for different things on different platforms. This
120 interface allows a platform to indicate that the specified
121 serial port can be used as a diagnostic and/or debug channel."
124 cdl_interface CYGHWR_HAL_ARM_PXA2X0_BTUART {
125 display "BTUART available as diagnostic/debug channel"
127 The PXA2X0 chip has multiple serial channels which may be
128 used for different things on different platforms. This
129 interface allows a platform to indicate that the specified
130 serial port can be used as a diagnostic and/or debug channel."
133 cdl_interface CYGHWR_HAL_ARM_PXA2X0_STUART {
134 display "STUART available as diagnostic/debug channel"
136 The PXA2X0 chip has multiple serial channels which may be
137 used for different things on different platforms. This
138 interface allows a platform to indicate that the specified
139 serial port can be used as a diagnostic and/or debug channel."
142 cdl_option CYGBLD_BUILD_HAL_ARM_XSCALE_PXA2X0_SERIAL_DIAG {
143 display "Include support for PXA2X0 serial diagnostic/debug channels"
144 default_value { CYGHWR_HAL_ARM_PXA2X0_FFUART
145 || CYGHWR_HAL_ARM_PXA2X0_BTUART
146 || CYGHWR_HAL_ARM_PXA2X0_STUART }