1 |
786 |
skrzyp |
# ====================================================================
|
2 |
|
|
#
|
3 |
|
|
# hal_openrisc_orpsoc.cdl
|
4 |
|
|
#
|
5 |
|
|
# OpenRISC Reference Platform (ORP) 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 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): sfurman
|
43 |
|
|
# Contributors:
|
44 |
|
|
# Date: 2003-01-20
|
45 |
|
|
#
|
46 |
|
|
#####DESCRIPTIONEND####
|
47 |
|
|
#
|
48 |
|
|
# ====================================================================
|
49 |
|
|
|
50 |
|
|
cdl_package CYGPKG_HAL_OPENRISC_ORPSOC {
|
51 |
|
|
display "OpenRISC System-on-Chip"
|
52 |
|
|
parent CYGPKG_HAL_OPENRISC
|
53 |
|
|
include_dir cyg/hal
|
54 |
|
|
hardware
|
55 |
|
|
description "
|
56 |
|
|
The ORPSoC HAL package should be used when targetting the
|
57 |
|
|
OpenRISC Reference Platform."
|
58 |
|
|
|
59 |
|
|
compile hal_diag.c hal_aux.c
|
60 |
|
|
|
61 |
|
|
implements CYGINT_HAL_VIRTUAL_VECTOR_SUPPORT
|
62 |
|
|
implements CYGINT_HAL_VIRTUAL_VECTOR_COMM_BAUD_SUPPORT
|
63 |
791 |
skrzyp |
implements CYGINT_HAL_DEBUG_GDB_STUBS
|
64 |
|
|
implements CYGINT_HAL_DEBUG_GDB_STUBS_BREAK
|
65 |
786 |
skrzyp |
|
66 |
|
|
define_proc {
|
67 |
|
|
puts $::cdl_system_header "#define CYGBLD_HAL_TARGET_H "
|
68 |
|
|
puts $::cdl_system_header "#define CYGBLD_HAL_PLATFORM_H "
|
69 |
|
|
}
|
70 |
|
|
|
71 |
791 |
skrzyp |
cdl_component CYG_HAL_STARTUP {
|
72 |
|
|
display "Startup type"
|
73 |
|
|
flavor data
|
74 |
|
|
legal_values {"RAM" "ROM" "JTAG"}
|
75 |
|
|
default_value {"JTAG"}
|
76 |
|
|
no_define
|
77 |
|
|
define -file system.h CYG_HAL_STARTUP
|
78 |
|
|
description "
|
79 |
|
|
Selects whether code initially runs from ROM or RAM. In the case of ROM startup,
|
80 |
|
|
it's possible for the code to be copied into RAM and executed there."
|
81 |
|
|
}
|
82 |
|
|
|
83 |
|
|
cdl_component CYGHWR_MEMORY_LAYOUT {
|
84 |
|
|
display "Memory layout"
|
85 |
|
|
flavor data
|
86 |
|
|
no_define
|
87 |
|
|
calculated { CYG_HAL_STARTUP == "ROM" ? "openrisc_orpsoc_rom" : \
|
88 |
|
|
"openrisc_orpsoc_ram" }
|
89 |
|
|
|
90 |
|
|
cdl_option CYGHWR_MEMORY_LAYOUT_LDI {
|
91 |
|
|
display "Memory layout linker script fragment"
|
92 |
|
|
flavor data
|
93 |
|
|
no_define
|
94 |
|
|
define -file system.h CYGHWR_MEMORY_LAYOUT_LDI
|
95 |
|
|
calculated { CYG_HAL_STARTUP == "ROM" ? "" : \
|
96 |
|
|
"" }
|
97 |
|
|
}
|
98 |
|
|
|
99 |
|
|
cdl_option CYGHWR_MEMORY_LAYOUT_H {
|
100 |
|
|
display "Memory layout header file"
|
101 |
|
|
flavor data
|
102 |
|
|
no_define
|
103 |
|
|
define -file system.h CYGHWR_MEMORY_LAYOUT_H
|
104 |
|
|
calculated { CYG_HAL_STARTUP == "ROM" ? "" : \
|
105 |
|
|
"" }
|
106 |
|
|
}
|
107 |
|
|
}
|
108 |
|
|
|
109 |
|
|
|
110 |
|
|
# Real-time clock/counter specifics
|
111 |
|
|
cdl_component CYGNUM_HAL_RTC_CONSTANTS {
|
112 |
|
|
display "Real-time clock constants."
|
113 |
|
|
flavor none
|
114 |
|
|
|
115 |
|
|
cdl_option CYGNUM_HAL_RTC_NUMERATOR {
|
116 |
|
|
display "Real-time clock numerator"
|
117 |
|
|
flavor data
|
118 |
|
|
default_value 1000000000
|
119 |
|
|
}
|
120 |
|
|
cdl_option CYGNUM_HAL_RTC_DENOMINATOR {
|
121 |
|
|
display "Real-time clock denominator"
|
122 |
|
|
flavor data
|
123 |
|
|
default_value 100
|
124 |
|
|
}
|
125 |
|
|
cdl_option CYGNUM_HAL_RTC_PERIOD {
|
126 |
|
|
display "Real-time clock period"
|
127 |
|
|
flavor data
|
128 |
|
|
default_value {CYGHWR_HAL_OPENRISC_CPU_FREQ * 1000000 / CYGNUM_HAL_RTC_DENOMINATOR}
|
129 |
|
|
description "
|
130 |
|
|
The tick timer facility is used
|
131 |
|
|
to drive the eCos kernel RTC. The count register
|
132 |
|
|
increments at the CPU clock speed. By default, 100 Hz"
|
133 |
|
|
}
|
134 |
|
|
}
|
135 |
|
|
|
136 |
|
|
cdl_component CYGBLD_GLOBAL_OPTIONS {
|
137 |
|
|
display "Global build options"
|
138 |
|
|
flavor none
|
139 |
|
|
description "
|
140 |
|
|
Global build options including control over
|
141 |
|
|
compiler flags, linker flags and choice of toolchain."
|
142 |
|
|
|
143 |
|
|
|
144 |
|
|
parent CYGPKG_NONE
|
145 |
|
|
|
146 |
|
|
cdl_option CYGBLD_GLOBAL_COMMAND_PREFIX {
|
147 |
|
|
display "Global command prefix"
|
148 |
|
|
flavor data
|
149 |
|
|
no_define
|
150 |
|
|
default_value { "or32-elf" }
|
151 |
|
|
description "
|
152 |
|
|
This option specifies the command prefix used when
|
153 |
|
|
invoking the build tools."
|
154 |
|
|
}
|
155 |
|
|
|
156 |
|
|
cdl_option CYGBLD_GLOBAL_CFLAGS {
|
157 |
|
|
display "Global compiler flags"
|
158 |
|
|
flavor data
|
159 |
|
|
no_define
|
160 |
|
|
default_value { CYGBLD_GLOBAL_WARNFLAGS .
|
161 |
|
|
"-g -O2 -fno-omit-frame-pointer -fno-rtti -fno-exceptions " .
|
162 |
|
|
(CYGHWR_MUL_IMPLEMENTED ? "-mhard-mul " : "-msoft-mul ") .
|
163 |
|
|
(CYGHWR_DIV_IMPLEMENTED ? "-mhard-div " : "-msoft-div ") .
|
164 |
838 |
skrzyp |
(CYGHWR_FPU_IMPLEMENTED ? "-mhard-float " : "-msoft-float ") .
|
165 |
|
|
(CYGHWR_BRANCH_SLOT_IMPLEMENTED ? "" : "-mno-branch-delay " ) }
|
166 |
791 |
skrzyp |
description "
|
167 |
|
|
This option controls the global compiler flags which
|
168 |
|
|
are used to compile all packages by
|
169 |
|
|
default. Individual packages may define
|
170 |
|
|
options which override these global flags."
|
171 |
|
|
}
|
172 |
|
|
|
173 |
|
|
cdl_option CYGBLD_GLOBAL_LDFLAGS {
|
174 |
|
|
display "Global linker flags"
|
175 |
|
|
flavor data
|
176 |
|
|
no_define
|
177 |
|
|
default_value { "-g -O2 -nostdlib -Wl,--gc-sections -Wl,-static " .
|
178 |
|
|
(CYGHWR_MUL_IMPLEMENTED ? "-mhard-mul " : "-msoft-mul ") .
|
179 |
|
|
(CYGHWR_DIV_IMPLEMENTED ? "-mhard-div " : "-msoft-div ") .
|
180 |
|
|
(CYGHWR_FPU_IMPLEMENTED ? "-mhard-float " : "-msoft-float ") }
|
181 |
|
|
description "
|
182 |
|
|
This option controls the global linker flags. Individual
|
183 |
|
|
packages may define options which override these global flags."
|
184 |
|
|
}
|
185 |
|
|
}
|
186 |
|
|
|
187 |
|
|
cdl_option CYGBLD_BUILD_GDB_STUBS {
|
188 |
|
|
display "Build GDB stub ROM image"
|
189 |
|
|
default_value 0
|
190 |
|
|
parent CYGBLD_GLOBAL_OPTIONS
|
191 |
|
|
requires { CYG_HAL_STARTUP == "ROM" }
|
192 |
|
|
requires CYGSEM_HAL_ROM_MONITOR
|
193 |
|
|
requires CYGBLD_BUILD_COMMON_GDB_STUBS
|
194 |
|
|
requires CYGDBG_HAL_DEBUG_GDB_INCLUDE_STUBS
|
195 |
|
|
requires ! CYGDBG_HAL_DEBUG_GDB_BREAK_SUPPORT
|
196 |
|
|
requires ! CYGDBG_HAL_DEBUG_GDB_THREAD_SUPPORT
|
197 |
|
|
requires ! CYGDBG_HAL_COMMON_INTERRUPTS_SAVE_MINIMUM_CONTEXT
|
198 |
|
|
requires ! CYGDBG_HAL_COMMON_CONTEXT_SAVE_MINIMUM
|
199 |
|
|
no_define
|
200 |
|
|
description "
|
201 |
|
|
This option enables the building of the GDB stubs for the
|
202 |
|
|
board. The common HAL controls takes care of most of the
|
203 |
|
|
build process, but the final conversion from ELF image to
|
204 |
|
|
binary data is handled by the platform CDL, allowing
|
205 |
|
|
relocation of the data if necessary."
|
206 |
|
|
|
207 |
|
|
make -priority 320 {
|
208 |
|
|
/bin/gdb_module.bin : /bin/gdb_module.img
|
209 |
|
|
$(OBJCOPY) -O binary $< $@
|
210 |
|
|
}
|
211 |
|
|
}
|
212 |
|
|
|
213 |
|
|
cdl_option CYGNUM_HAL_BREAKPOINT_LIST_SIZE {
|
214 |
|
|
display "Number of breakpoints supported by the HAL."
|
215 |
|
|
flavor data
|
216 |
|
|
default_value 25
|
217 |
|
|
description "
|
218 |
|
|
This option determines the number of breakpoints supported by the HAL."
|
219 |
|
|
}
|
220 |
|
|
|
221 |
|
|
cdl_option CYGSEM_HAL_USE_ROM_MONITOR {
|
222 |
|
|
display "Work with a ROM monitor"
|
223 |
|
|
flavor bool
|
224 |
|
|
default_value { CYG_HAL_STARTUP == "RAM" ? 1 : 0 }
|
225 |
|
|
parent CYGPKG_HAL_ROM_MONITOR
|
226 |
|
|
requires { CYG_HAL_STARTUP == "RAM" }
|
227 |
|
|
description "
|
228 |
|
|
Allow coexistence with ROM monitor (CygMon or GDB stubs) by
|
229 |
|
|
only initializing interrupt vectors on startup, thus leaving
|
230 |
|
|
exception handling to the ROM monitor."
|
231 |
|
|
}
|
232 |
|
|
|
233 |
|
|
cdl_option CYGSEM_HAL_ROM_MONITOR {
|
234 |
|
|
display "Behave as a ROM monitor"
|
235 |
|
|
flavor bool
|
236 |
|
|
default_value 0
|
237 |
|
|
parent CYGPKG_HAL_ROM_MONITOR
|
238 |
|
|
requires { CYG_HAL_STARTUP == "ROM" }
|
239 |
|
|
description "
|
240 |
|
|
Enable this option if this program is to be used as a ROM monitor,
|
241 |
|
|
i.e. applications will be loaded into RAM on the board, and this
|
242 |
|
|
ROM monitor may process exceptions or interrupts generated from the
|
243 |
|
|
application. This enables features such as utilizing a separate
|
244 |
|
|
interrupt stack when exceptions are generated."
|
245 |
|
|
}
|
246 |
|
|
|
247 |
|
|
cdl_component CYGPKG_REDBOOT_HAL_OPTIONS {
|
248 |
|
|
display "Redboot HAL options"
|
249 |
|
|
flavor none
|
250 |
|
|
no_define
|
251 |
|
|
parent CYGPKG_REDBOOT
|
252 |
|
|
active_if CYGPKG_REDBOOT
|
253 |
|
|
description "
|
254 |
|
|
This option lists the target's requirements for a valid Redboot
|
255 |
|
|
configuration."
|
256 |
|
|
|
257 |
|
|
cdl_option CYGBLD_BUILD_REDBOOT_BIN {
|
258 |
|
|
display "Build Redboot ROM binary image"
|
259 |
|
|
active_if CYGBLD_BUILD_REDBOOT
|
260 |
|
|
default_value 1
|
261 |
|
|
no_define
|
262 |
|
|
description "This option enables the conversion of the Redboot ELF
|
263 |
|
|
image to a binary image suitable for ROM programming."
|
264 |
|
|
|
265 |
|
|
compile -library=libextras.a
|
266 |
|
|
|
267 |
|
|
make -priority 325 {
|
268 |
|
|
/bin/redboot.srec : /bin/redboot.elf
|
269 |
|
|
$(OBJCOPY) --strip-all $< $(@:.srec=.img)
|
270 |
|
|
$(OBJCOPY) -O srec $< $@
|
271 |
|
|
}
|
272 |
|
|
}
|
273 |
|
|
}
|
274 |
|
|
|
275 |
|
|
cdl_option CYGHWR_HAL_OPENRISC_CPU_FREQ {
|
276 |
|
|
display "CPU frequency"
|
277 |
|
|
flavor data
|
278 |
|
|
legal_values 0 to 1000000
|
279 |
|
|
default_value 50
|
280 |
|
|
description "
|
281 |
|
|
This option contains the frequency of the CPU in MegaHertz.
|
282 |
|
|
Choose the frequency to match the processor you have. This
|
283 |
|
|
may affect thing like serial device, interval clock and
|
284 |
|
|
memory access speed settings."
|
285 |
|
|
}
|
286 |
|
|
|
287 |
|
|
cdl_option CYGHWR_MUL_IMPLEMENTED {
|
288 |
|
|
display "Hardware multiplier implemented"
|
289 |
|
|
flavor bool
|
290 |
|
|
default_value 1
|
291 |
|
|
description "
|
292 |
|
|
Select this option only if hardware multiplier is
|
293 |
|
|
implemented."
|
294 |
|
|
}
|
295 |
|
|
|
296 |
|
|
cdl_option CYGHWR_DIV_IMPLEMENTED {
|
297 |
|
|
display "Hardware divisor implemented"
|
298 |
|
|
flavor bool
|
299 |
|
|
default_value 1
|
300 |
|
|
description "
|
301 |
|
|
Select this option only if hardware division is
|
302 |
|
|
implemented."
|
303 |
|
|
}
|
304 |
|
|
|
305 |
|
|
cdl_option CYGHWR_FPU_IMPLEMENTED {
|
306 |
|
|
display "Hardware FPU implemented"
|
307 |
|
|
flavor bool
|
308 |
|
|
default_value 0
|
309 |
|
|
description "
|
310 |
|
|
Select this option only if FPU is implemented."
|
311 |
|
|
}
|
312 |
|
|
|
313 |
838 |
skrzyp |
cdl_option CYGHWR_BRANCH_SLOT_IMPLEMENTED {
|
314 |
|
|
display "Branch slot implemented"
|
315 |
|
|
flavor bool
|
316 |
|
|
default_value 1
|
317 |
|
|
description "
|
318 |
|
|
Select this option if your implementation of OpenRISC
|
319 |
|
|
has branch slot."
|
320 |
|
|
}
|
321 |
|
|
|
322 |
791 |
skrzyp |
cdl_component CYGHWR_ICACHE_IMPLEMENTED {
|
323 |
|
|
display "Instruction cache implemented"
|
324 |
|
|
flavor bool
|
325 |
|
|
default_value 1
|
326 |
|
|
description "
|
327 |
|
|
Select this option only if instruction cache is
|
328 |
|
|
implemented."
|
329 |
|
|
|
330 |
|
|
cdl_option CYGHWR_ICACHE_SIZE {
|
331 |
|
|
display "Size of instruction cache"
|
332 |
|
|
flavor data
|
333 |
|
|
legal_values 0x1000 0x2000 0x4000 0x8000
|
334 |
|
|
default_value 0x2000
|
335 |
|
|
description "
|
336 |
|
|
Size of the instruction cache. Default is 8kB."
|
337 |
|
|
}
|
338 |
|
|
}
|
339 |
|
|
|
340 |
|
|
cdl_component CYGHWR_DCACHE_IMPLEMENTED {
|
341 |
|
|
display "Data cache implemented"
|
342 |
|
|
flavor bool
|
343 |
|
|
default_value 1
|
344 |
|
|
description "
|
345 |
|
|
Select this option only if data cache is
|
346 |
|
|
implemented."
|
347 |
|
|
|
348 |
|
|
cdl_option CYGHWR_DCACHE_SIZE {
|
349 |
|
|
display "Size of data cache"
|
350 |
|
|
active_if CYGHWR_DCACHE_IMPLEMENTED
|
351 |
|
|
flavor data
|
352 |
|
|
legal_values 0x200 0x1000 0x2000 0x4000 0x8000
|
353 |
|
|
default_value 0x1000
|
354 |
|
|
description "
|
355 |
|
|
Size of the data cache. Default is 4kB."
|
356 |
|
|
}
|
357 |
|
|
|
358 |
|
|
cdl_option CYGHWR_DCACHE_MODE {
|
359 |
|
|
display "DATA cache mode"
|
360 |
|
|
flavor data
|
361 |
|
|
legal_values { "WRITETHROUGH" "WRITEBACK" }
|
362 |
|
|
default_value { "WRITETHROUGH" }
|
363 |
|
|
description "
|
364 |
|
|
Speficy synthesized cache."
|
365 |
|
|
}
|
366 |
|
|
}
|
367 |
|
|
|
368 |
|
|
|
369 |
|
|
|
370 |
|
|
cdl_option CYGHWR_RAM_SIZE {
|
371 |
|
|
display "Size of RAM memory"
|
372 |
|
|
flavor data
|
373 |
|
|
default_value 0x2000000
|
374 |
|
|
description "
|
375 |
|
|
Size of RAM memory. This value is used to generate linker script.
|
376 |
|
|
Default is 32MB."
|
377 |
|
|
}
|
378 |
|
|
|
379 |
|
|
cdl_option CYGHWR_ROM_SIZE {
|
380 |
|
|
display "Size of ROM memory"
|
381 |
|
|
flavor data
|
382 |
|
|
default_value 0x40000
|
383 |
|
|
description "
|
384 |
|
|
Size of ROM memory. This value is used to generate linker script.
|
385 |
|
|
Default is 256kB."
|
386 |
|
|
}
|
387 |
|
|
|
388 |
786 |
skrzyp |
cdl_option CYGNUM_HAL_VIRTUAL_VECTOR_CONSOLE_CHANNEL_BAUD {
|
389 |
|
|
display "Diagnostic serial port baud rate"
|
390 |
|
|
flavor data
|
391 |
|
|
legal_values 9600 19200 38400 57600 115200 230400 460800 921600
|
392 |
|
|
default_value 115200
|
393 |
|
|
description "
|
394 |
|
|
This option selects the baud rate used for the diagnostic console.
|
395 |
|
|
Note: this should match the value chosen for the GDB port if the
|
396 |
|
|
diagnostic and GDB port are the same.
|
397 |
|
|
Note: very high baud rates are useful during simulation."
|
398 |
|
|
}
|
399 |
|
|
|
400 |
|
|
cdl_option CYGNUM_HAL_VIRTUAL_VECTOR_DEBUG_CHANNEL_BAUD {
|
401 |
|
|
display "GDB serial port baud rate"
|
402 |
|
|
flavor data
|
403 |
|
|
legal_values 9600 19200 38400 57600 115200 230400 460800 921600
|
404 |
|
|
default_value 115200
|
405 |
|
|
description "
|
406 |
|
|
This option controls the baud rate used for the GDB connection.
|
407 |
|
|
Note: very high baud rates are useful during simulation."
|
408 |
|
|
}
|
409 |
|
|
|
410 |
|
|
cdl_option CYGNUM_HAL_VIRTUAL_VECTOR_COMM_CHANNELS {
|
411 |
|
|
display "Number of communication channels on the board"
|
412 |
|
|
flavor data
|
413 |
|
|
default_value 1
|
414 |
|
|
}
|
415 |
|
|
|
416 |
|
|
cdl_option CYGNUM_HAL_VIRTUAL_VECTOR_DEBUG_CHANNEL {
|
417 |
|
|
display "Debug serial port"
|
418 |
|
|
active_if CYGPRI_HAL_VIRTUAL_VECTOR_DEBUG_CHANNEL_CONFIGURABLE
|
419 |
|
|
flavor data
|
420 |
|
|
legal_values 0 to CYGNUM_HAL_VIRTUAL_VECTOR_COMM_CHANNELS-1
|
421 |
|
|
default_value 0
|
422 |
|
|
description "
|
423 |
|
|
The ORP platform has at least one serial port, but it can potentially have several.
|
424 |
|
|
This option chooses which port will be used to connect to a host
|
425 |
|
|
running GDB."
|
426 |
|
|
}
|
427 |
|
|
|
428 |
|
|
cdl_option CYGNUM_HAL_VIRTUAL_VECTOR_CONSOLE_CHANNEL {
|
429 |
|
|
display "Diagnostic serial port"
|
430 |
|
|
active_if CYGPRI_HAL_VIRTUAL_VECTOR_CONSOLE_CHANNEL_CONFIGURABLE
|
431 |
|
|
flavor data
|
432 |
|
|
legal_values 0 to CYGNUM_HAL_VIRTUAL_VECTOR_COMM_CHANNELS-1
|
433 |
|
|
default_value 0
|
434 |
|
|
description "
|
435 |
|
|
The ORP platform has at least one serial port, but it can potentially have several.
|
436 |
|
|
This option chooses which port will be used for diagnostic output."
|
437 |
|
|
}
|
438 |
|
|
|
439 |
|
|
define_proc {
|
440 |
|
|
puts $cdl_header "#define CYGHWR_HAL_VSR_TABLE 0"
|
441 |
|
|
puts $cdl_header "#define CYGHWR_HAL_VIRTUAL_VECTOR_TABLE 0xF00"
|
442 |
|
|
}
|
443 |
|
|
}
|
444 |
|
|
|
445 |
|
|
# EOF hal_openrisc_orpsoc.cdl
|