source: rtems/c/src/lib/libbsp/powerpc/gen5200/configure.ac @ 92d8038

4.11
Last change on this file since 92d8038 was 92d8038, checked in by Sebastian Huber <sebastian.huber@…>, on Apr 19, 2013 at 9:53:07 AM

bsp/mpc5200: New BSP variant BRS6L

  • Property mode set to 100644
File size: 5.1 KB
Line 
1## Process this file with autoconf to produce a configure script.
2
3AC_PREREQ([2.69])
4AC_INIT([rtems-c-src-lib-libbsp-powerpc-gen5200],[_RTEMS_VERSION],[http://www.rtems.org/bugzilla])
5AC_CONFIG_SRCDIR([bsp_specs])
6RTEMS_TOP(../../../../../..)
7
8RTEMS_CANONICAL_TARGET_CPU
9AM_INIT_AUTOMAKE([no-define nostdinc foreign 1.12.2])
10RTEMS_BSP_CONFIGURE
11
12RTEMS_PROG_CC_FOR_TARGET
13RTEMS_CANONICALIZE_TOOLS
14RTEMS_PROG_CCAS
15
16RTEMS_BSPOPTS_SET_DATA_CACHE_ENABLED([*],[1])
17RTEMS_BSPOPTS_HELP_DATA_CACHE_ENABLED
18
19RTEMS_BSPOPTS_SET_INSTRUCTION_CACHE_ENABLED([*],[1])
20RTEMS_BSPOPTS_HELP_INSTRUCTION_CACHE_ENABLED
21
22RTEMS_BSPOPTS_SET([BENCHMARK_IRQ_PROCESSING],[*],[0])
23RTEMS_BSPOPTS_HELP([BENCHMARK_IRQ_PROCESSING],
24[If set to !0, enable code to benchmark IRQ processing.])
25
26RTEMS_BSPOPTS_SET([ALLOW_IRQ_NESTING],[icecube],[0])
27RTEMS_BSPOPTS_SET([ALLOW_IRQ_NESTING],[*],[1])
28RTEMS_BSPOPTS_HELP([ALLOW_IRQ_NESTING],
29[If set to !0, allow nested IRQ processing.])
30
31RTEMS_BSPOPTS_SET([BSP_PRESS_KEY_FOR_RESET],[icecube],[1])
32RTEMS_BSPOPTS_SET([BSP_PRESS_KEY_FOR_RESET],[*],[0])
33RTEMS_BSPOPTS_HELP([BSP_PRESS_KEY_FOR_RESET],
34[If set to !0, print a message and wait until pressed before resetting
35 board when application exits.])
36
37RTEMS_BSPOPTS_SET([BSP_RESET_BOARD_AT_EXIT],[icecube],[1])
38RTEMS_BSPOPTS_SET([BSP_RESET_BOARD_AT_EXIT],[pm520_*],[1])
39RTEMS_BSPOPTS_SET([BSP_RESET_BOARD_AT_EXIT],[brs*l],[1])
40RTEMS_BSPOPTS_SET([BSP_RESET_BOARD_AT_EXIT],[*],[0])
41RTEMS_BSPOPTS_HELP([BSP_RESET_BOARD_AT_EXIT],
42[If set to !0, reset the board when the application exits.])
43
44RTEMS_BSPOPTS_SET([BSP_GPIOPCR_INITMASK],[pm520_ze30],[0x037F3F07])
45RTEMS_BSPOPTS_SET([BSP_GPIOPCR_INITVAL],[pm520_ze30],[0x01552104])
46
47RTEMS_BSPOPTS_SET([BSP_GPIOPCR_INITMASK],[brs*l],[0xb30F0F77])
48RTEMS_BSPOPTS_SET([BSP_GPIOPCR_INITVAL],[brs*l],[0x91050444])
49
50RTEMS_BSPOPTS_SET([BSP_GPIOPCR_INITMASK],[dp2],[0x337F3F77])
51RTEMS_BSPOPTS_SET([BSP_GPIOPCR_INITVAL],[dp2],[0x03550040])
52
53RTEMS_BSPOPTS_SET([BSP_GPIOPCR_INITMASK],[*],[0x330F0F77])
54RTEMS_BSPOPTS_SET([BSP_GPIOPCR_INITVAL],[*],[0x01050444])
55
56RTEMS_BSPOPTS_HELP([BSP_GPIOPCR_INITMASK],
57[Defines the bits cleared in the MPC5200 GPIOPCR register during
58initialization.  Must match the hardware requirements.  Must be consistent with
59BSP_GPIOPCR_INITVAL.  The bits are cleared via BSP_GPIOPCR_INITMASK and then
60set via BSP_GPIOPCR_INITVAL.])
61RTEMS_BSPOPTS_HELP([BSP_GPIOPCR_INITVAL],
62[Defines the bits set in the MPC5200 GPIOPCR register during initialization.
63Must match the hardware requirements.  Must be consistent with
64BSP_GPIOPCR_INITMASK.  The bits are cleared via BSP_GPIOPCR_INITMASK and then
65set via BSP_GPIOPCR_INITVAL.])
66
67## on ze30, we have PSC1/4/5/6 ...
68RTEMS_BSPOPTS_SET([BSP_UART_AVAIL_MASK],[pm520_ze30],[0x39])
69## on cr825, we have PSC1/2/3
70RTEMS_BSPOPTS_SET([BSP_UART_AVAIL_MASK],[pm520_cr825],[0x07])
71## on brs5l and brs6l, we have PSC1/2/3
72RTEMS_BSPOPTS_SET([BSP_UART_AVAIL_MASK],[brs*l],[0x07])
73## on icecube, we only have PSC1
74RTEMS_BSPOPTS_SET([BSP_UART_AVAIL_MASK],[icecube],[0x01])
75## dp2: PSC2 (via USB connector), PSC6 (GPS module)
76RTEMS_BSPOPTS_SET([BSP_UART_AVAIL_MASK],[dp2],[0x22])
77## default
78RTEMS_BSPOPTS_SET([BSP_UART_AVAIL_MASK],[*],[0x01])
79RTEMS_BSPOPTS_HELP([BSP_UART_AVAIL_MASK],
80[bit mask to specify the UARTS (PSCs), which should be enabled on this board.
81 Must match the hardware requirements. PSC1 corresponds to the LSB])
82
83RTEMS_BSPOPTS_SET([MPC5200_PSC_INDEX_FOR_GPS_MODULE],[dp2],[5])
84RTEMS_BSPOPTS_HELP([MPC5200_PSC_INDEX_FOR_GPS_MODULE],[PSC index for GPS module, if defined results in '/dev/gps'])
85
86RTEMS_BSPOPTS_SET([SINGLE_CHAR_MODE],[*],[])
87RTEMS_BSPOPTS_HELP([SINGLE_CHAR_MODE],[enable single character mode for the PSC console driver])
88
89RTEMS_BSPOPTS_SET([UARTS_USE_TERMIOS_INT],[*],[1])
90RTEMS_BSPOPTS_HELP([UARTS_USE_TERMIOS_INT],[enable interrupt support for the PSC console driver])
91
92RTEMS_BSPOPTS_SET([PRINTK_MINOR],[dp2],[1])
93RTEMS_BSPOPTS_SET([PRINTK_MINOR],[*],[0])
94RTEMS_BSPOPTS_HELP([PRINTK_MINOR],[console minor number used by printk()])
95
96RTEMS_BSPOPTS_SET([MPC5200_BOARD_PM520_ZE30],[pm520_ze30],[1])
97RTEMS_BSPOPTS_HELP([MPC5200_BOARD_PM520_ZE30],
98[enable settings for PM520 ZE30])
99
100RTEMS_BSPOPTS_SET([MPC5200_BOARD_PM520_CR825],[pm520_cr825],[1])
101RTEMS_BSPOPTS_HELP([MPC5200_BOARD_PM520_CR825],
102[enable settings for PM520 CR825])
103
104RTEMS_BSPOPTS_SET([MPC5200_BOARD_ICECUBE],[icecube],[1])
105RTEMS_BSPOPTS_HELP([MPC5200_BOARD_ICECUBE],
106[enable settings for IceCube])
107
108RTEMS_BSPOPTS_SET([MPC5200_BOARD_BRS5L],[brs5l],[1])
109RTEMS_BSPOPTS_HELP([MPC5200_BOARD_BRS5L],
110[enable settings for BRS5L])
111
112RTEMS_BSPOPTS_SET([MPC5200_BOARD_BRS6L],[brs6l],[1])
113RTEMS_BSPOPTS_HELP([MPC5200_BOARD_BRS6L],
114[enable settings for BRS6L])
115
116RTEMS_BSPOPTS_SET([MPC5200_BOARD_DP2],[dp2],[1])
117RTEMS_BSPOPTS_HELP([MPC5200_BOARD_DP2],
118[enable settings for DP2])
119
120RTEMS_BSPOPTS_SET([HAS_UBOOT],[pm520*],[1])
121RTEMS_BSPOPTS_SET([HAS_UBOOT],[icecube],[1])
122RTEMS_BSPOPTS_SET([HAS_UBOOT],[dp2],[1])
123RTEMS_BSPOPTS_HELP([HAS_UBOOT],[enable U-Boot startup])
124
125RTEMS_CHECK_NETWORKING
126AM_CONDITIONAL(HAS_NETWORKING,test "$HAS_NETWORKING" = "yes")
127
128# Explicitly list all Makefiles here
129AC_CONFIG_FILES([Makefile])
130
131RTEMS_BSP_CLEANUP_OPTIONS(0, 0)
132RTEMS_BSP_LINKCMDS
133
134RTEMS_PPC_EXCEPTIONS
135
136AC_OUTPUT
Note: See TracBrowser for help on using the repository browser.