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 compile hal_diag.c pxa2x0_misc.c
73 # Real-time clock/counter specifics
74 cdl_component CYGNUM_HAL_RTC_CONSTANTS {
75 display "Real-time clock constants"
79 cdl_option CYGNUM_HAL_RTC_NUMERATOR {
80 display "Real-time clock numerator"
82 default_value 1000000000
85 cdl_option CYGNUM_HAL_RTC_DENOMINATOR {
86 display "Real-time clock denominator"
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."
97 cdl_option CYGNUM_HAL_RTC_PERIOD {
98 display "Real-time clock period"
100 default_value (3686400/CYGNUM_HAL_RTC_DENOMINATOR)
105 cdl_interface CYGHWR_HAL_ARM_PXA2X0_FFUART {
106 display "FFUART available as diagnostic/debug channel"
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."
114 cdl_interface CYGHWR_HAL_ARM_PXA2X0_BTUART {
115 display "BTUART available as diagnostic/debug channel"
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."
123 cdl_interface CYGHWR_HAL_ARM_PXA2X0_STUART {
124 display "STUART available as diagnostic/debug channel"
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."