Mercurial > flash_v2
comparison packages/hal/powerpc/fads/current/cdl/hal_powerpc_fads.cdl @ 76:435cced73e2f ecos-v1_3_1-release
eCos v1.3.1 merged from eCos master repository on 2000-03-27-23:22:51-BST
| author | jlarmour |
|---|---|
| date | Tue, 28 Mar 2000 14:10:45 +0000 |
| parents | |
| children | c37d3a9e1b28 |
comparison
equal
deleted
inserted
replaced
| 75:41bf073c0c32 | 76:435cced73e2f |
|---|---|
| 1 # ==================================================================== | |
| 2 # | |
| 3 # hal_powerpc_fads.cdl | |
| 4 # | |
| 5 # PowerPC/FADS board HAL package configuration data | |
| 6 # | |
| 7 # ==================================================================== | |
| 8 #####COPYRIGHTBEGIN#### | |
| 9 # | |
| 10 # ------------------------------------------- | |
| 11 # The contents of this file are subject to the Red Hat eCos Public License | |
| 12 # Version 1.1 (the "License"); you may not use this file except in | |
| 13 # compliance with the License. You may obtain a copy of the License at | |
| 14 # http://www.redhat.com/ | |
| 15 # | |
| 16 # Software distributed under the License is distributed on an "AS IS" | |
| 17 # basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the | |
| 18 # License for the specific language governing rights and limitations under | |
| 19 # the License. | |
| 20 # | |
| 21 # The Original Code is eCos - Embedded Configurable Operating System, | |
| 22 # released September 30, 1998. | |
| 23 # | |
| 24 # The Initial Developer of the Original Code is Red Hat. | |
| 25 # Portions created by Red Hat are | |
| 26 # Copyright (C) 1998, 1999, 2000 Red Hat, Inc. | |
| 27 # All Rights Reserved. | |
| 28 # ------------------------------------------- | |
| 29 # | |
| 30 #####COPYRIGHTEND#### | |
| 31 # ==================================================================== | |
| 32 ######DESCRIPTIONBEGIN#### | |
| 33 # | |
| 34 # Author(s): jskov | |
| 35 # Original data: bartv, khester | |
| 36 # Contributors: | |
| 37 # Date: 1999-11-02 | |
| 38 # | |
| 39 #####DESCRIPTIONEND#### | |
| 40 # | |
| 41 # ==================================================================== | |
| 42 | |
| 43 cdl_package CYGPKG_HAL_POWERPC_FADS { | |
| 44 display "Motorola FADS PowerPC evaluation board" | |
| 45 parent CYGPKG_HAL_POWERPC | |
| 46 requires CYGPKG_HAL_POWERPC_MPC8xx | |
| 47 define_header hal_powerpc_fads.h | |
| 48 include_dir cyg/hal | |
| 49 description " | |
| 50 The FADS HAL package provides the support needed to run | |
| 51 eCos on a Motorola FADS board equipped with a PowerPC processor." | |
| 52 | |
| 53 compile hal_diag.c hal_aux.c fads.S quicc_smc2.c | |
| 54 | |
| 55 define_proc { | |
| 56 puts $::cdl_system_header "#define CYGBLD_HAL_TARGET_H <pkgconf/hal_powerpc_mpc8xx.h>" | |
| 57 puts $::cdl_system_header "#define CYGBLD_HAL_PLATFORM_H <pkgconf/hal_powerpc_fads.h>" | |
| 58 } | |
| 59 | |
| 60 # Board doesn't have eCos GDB stub support yet. | |
| 61 implements CYGINT_HAL_USE_ROM_MONITOR_UNSUPPORTED | |
| 62 | |
| 63 cdl_component CYG_HAL_STARTUP { | |
| 64 display "Startup type" | |
| 65 flavor data | |
| 66 legal_values {"RAM" "ROM"} | |
| 67 default_value {"RAM"} | |
| 68 no_define | |
| 69 define -file system.h CYG_HAL_STARTUP | |
| 70 description " | |
| 71 When targetting the FADS board for RAM bootstrap it is expected | |
| 72 that the image will be downloaded via the Motorola MPC8BUG tool." | |
| 73 } | |
| 74 | |
| 75 # Real-time clock/counter specifics | |
| 76 cdl_component CYGNUM_HAL_RTC_CONSTANTS { | |
| 77 display "Real-time clock constants." | |
| 78 description " | |
| 79 Period is busclock/16/100." | |
| 80 flavor none | |
| 81 | |
| 82 cdl_option CYGNUM_HAL_RTC_NUMERATOR { | |
| 83 display "Real-time clock numerator" | |
| 84 flavor data | |
| 85 calculated 1000000000 | |
| 86 } | |
| 87 cdl_option CYGNUM_HAL_RTC_DENOMINATOR { | |
| 88 display "Real-time clock denominator" | |
| 89 flavor data | |
| 90 calculated 100 | |
| 91 } | |
| 92 cdl_option CYGNUM_HAL_RTC_PERIOD { | |
| 93 display "Real-time clock period" | |
| 94 flavor data | |
| 95 calculated 20833 | |
| 96 } | |
| 97 } | |
| 98 | |
| 99 cdl_component CYGBLD_GLOBAL_OPTIONS { | |
| 100 display "Global build options" | |
| 101 flavor none | |
| 102 parent CYGPKG_NONE | |
| 103 description " | |
| 104 Global build options including control over | |
| 105 compiler flags, linker flags and choice of toolchain." | |
| 106 | |
| 107 | |
| 108 cdl_option CYGBLD_GLOBAL_COMMAND_PREFIX { | |
| 109 display "Global command prefix" | |
| 110 flavor data | |
| 111 no_define | |
| 112 default_value { "powerpc-eabi" } | |
| 113 description " | |
| 114 This option specifies the command prefix used when | |
| 115 invoking the build tools." | |
| 116 } | |
| 117 | |
| 118 cdl_option CYGBLD_GLOBAL_CFLAGS { | |
| 119 display "Global compiler flags" | |
| 120 flavor data | |
| 121 no_define | |
| 122 default_value { "-msoft-float -mcpu=860 -Wall -Wpointer-arith -Wstrict-prototypes -Winline -Wundef -Woverloaded-virtual -g -O2 -ffunction-sections -fdata-sections -fno-rtti -fno-exceptions -fvtable-gc -finit-priority" } | |
| 123 description " | |
| 124 This option controls the global compiler flags which | |
| 125 are used to compile all packages by | |
| 126 default. Individual packages may define | |
| 127 options which override these global flags." | |
| 128 } | |
| 129 | |
| 130 cdl_option CYGBLD_GLOBAL_LDFLAGS { | |
| 131 display "Global linker flags" | |
| 132 flavor data | |
| 133 no_define | |
| 134 default_value { "-msoft-float -mcpu=860 -g -nostdlib -Wl,--gc-sections -Wl,-static" } | |
| 135 description " | |
| 136 This option controls the global linker flags. Individual | |
| 137 packages may define options which override these global flags." | |
| 138 } | |
| 139 } | |
| 140 | |
| 141 cdl_component CYGHWR_MEMORY_LAYOUT { | |
| 142 display "Memory layout" | |
| 143 flavor data | |
| 144 no_define | |
| 145 calculated { CYG_HAL_STARTUP == "RAM" ? "powerpc_fads_ram" : \ | |
| 146 "powerpc_fads_rom" } | |
| 147 | |
| 148 cdl_option CYGHWR_MEMORY_LAYOUT_LDI { | |
| 149 display "Memory layout linker script fragment" | |
| 150 flavor data | |
| 151 no_define | |
| 152 define -file system.h CYGHWR_MEMORY_LAYOUT_LDI | |
| 153 calculated { CYG_HAL_STARTUP == "RAM" ? "<pkgconf/mlt_powerpc_fads_ram.ldi>" : \ | |
| 154 "<pkgconf/mlt_powerpc_fads_rom.ldi>" } | |
| 155 } | |
| 156 | |
| 157 cdl_option CYGHWR_MEMORY_LAYOUT_H { | |
| 158 display "Memory layout header file" | |
| 159 flavor data | |
| 160 no_define | |
| 161 define -file system.h CYGHWR_MEMORY_LAYOUT_H | |
| 162 calculated { CYG_HAL_STARTUP == "RAM" ? "<pkgconf/mlt_powerpc_fads_ram.h>" : \ | |
| 163 "<pkgconf/mlt_powerpc_fads_rom.h>" } | |
| 164 } | |
| 165 } | |
| 166 } |
