source: rtems/c/src/lib/libbsp/powerpc/mpc55xxevb/configure.ac @ 6c454104

4.11
Last change on this file since 6c454104 was 6c454104, checked in by Sebastian Huber <sebastian.huber@…>, on Nov 13, 2012 at 10:50:38 AM

bsp/mpc55xx: Fix no-cache section load

  • Property mode set to 100644
File size: 8.0 KB
Line 
1##
2#
3# @file
4#
5# @ingroup mpc55xx_config
6#
7# @brief Configure script of LibBSP for the MPC55xx evaluation boards.
8#
9
10AC_PREREQ([2.69])
11AC_INIT([rtems-c-src-lib-libbsp-powerpc-mpc55xxevb],[_RTEMS_VERSION],[http://www.rtems.org/bugzilla])
12AC_CONFIG_SRCDIR([bsp_specs])
13RTEMS_TOP(../../../../../..)
14
15RTEMS_CANONICAL_TARGET_CPU
16AM_INIT_AUTOMAKE([no-define nostdinc foreign 1.12.2])
17RTEMS_BSP_CONFIGURE
18
19RTEMS_PROG_CC_FOR_TARGET
20RTEMS_CANONICALIZE_TOOLS
21RTEMS_PROG_CCAS
22
23RTEMS_CHECK_NETWORKING
24AM_CONDITIONAL(HAS_NETWORKING,test "$HAS_NETWORKING" = "yes")
25
26RTEMS_BSPOPTS_SET_DATA_CACHE_ENABLED([gwlcfm],[])
27RTEMS_BSPOPTS_SET_DATA_CACHE_ENABLED([mpc5643l*],[])
28RTEMS_BSPOPTS_SET_DATA_CACHE_ENABLED([*],[1])
29RTEMS_BSPOPTS_HELP_DATA_CACHE_ENABLED
30
31RTEMS_BSPOPTS_SET_INSTRUCTION_CACHE_ENABLED([gwlcfm],[])
32RTEMS_BSPOPTS_SET_INSTRUCTION_CACHE_ENABLED([*],[1])
33RTEMS_BSPOPTS_HELP_INSTRUCTION_CACHE_ENABLED
34
35RTEMS_BSPOPTS_SET([BSP_INTERRUPT_HANDLER_TABLE_SIZE],[mpc5643l*],[127])
36RTEMS_BSPOPTS_SET([BSP_INTERRUPT_HANDLER_TABLE_SIZE],[mpc5566*],[127])
37RTEMS_BSPOPTS_SET([BSP_INTERRUPT_HANDLER_TABLE_SIZE],[mpc5674f*],[255])
38RTEMS_BSPOPTS_SET([BSP_INTERRUPT_HANDLER_TABLE_SIZE],[*],[63])
39RTEMS_BSPOPTS_HELP([BSP_INTERRUPT_HANDLER_TABLE_SIZE],
40[defines the maximum number of interrupt handlers])
41
42RTEMS_BSPOPTS_SET([MPC55XX_CONSOLE_MINOR],[mpc5674f_ecu508*],[2])
43RTEMS_BSPOPTS_SET([MPC55XX_CONSOLE_MINOR],[*],[0])
44RTEMS_BSPOPTS_HELP([MPC55XX_CONSOLE_MINOR],
45[determines which serial device will be registered as /dev/console])
46
47RTEMS_BSPOPTS_SET([BSP_DEFAULT_BAUD_RATE],[*],[115200])
48RTEMS_BSPOPTS_HELP([BSP_DEFAULT_BAUD_RATE],
49[default console baud])
50
51RTEMS_BSPOPTS_SET([MPC55XX_ESCI_USE_INTERRUPTS],[*],[1])
52RTEMS_BSPOPTS_HELP([MPC55XX_ESCI_USE_INTERRUPTS],
53[define to zero or one to disable or enable interrupts for the eSCI devices])
54
55RTEMS_BSPOPTS_SET([MPC55XX_REFERENCE_CLOCK],[gwlcfm],[40000000])
56RTEMS_BSPOPTS_SET([MPC55XX_REFERENCE_CLOCK],[mpc5643l_evb*],[40000000])
57RTEMS_BSPOPTS_SET([MPC55XX_REFERENCE_CLOCK],[mpc5674f*],[40000000])
58RTEMS_BSPOPTS_SET([MPC55XX_REFERENCE_CLOCK],[*],[8000000])
59RTEMS_BSPOPTS_HELP([MPC55XX_REFERENCE_CLOCK],
60[Must be defined to be the external reference clock (in Hz)
61 for clock generation])
62
63RTEMS_BSPOPTS_SET([MPC55XX_FMPLL_CLK_OUT],[gwlcfm],[66000000])
64RTEMS_BSPOPTS_SET([MPC55XX_FMPLL_CLK_OUT],[mpc5674f*],[264000000])
65RTEMS_BSPOPTS_SET([MPC55XX_FMPLL_CLK_OUT],[*]     ,[128000000])
66RTEMS_BSPOPTS_HELP([MPC55XX_FMPLL_CLK_OUT],
67[Must be defined to be the PLL output clock (in Hz) for clock generation])
68
69RTEMS_BSPOPTS_SET([MPC55XX_FMPLL_PREDIV],[gwlcfm],[10])
70RTEMS_BSPOPTS_SET([MPC55XX_FMPLL_PREDIV],[mpc5674f*],[5])
71RTEMS_BSPOPTS_SET([MPC55XX_FMPLL_PREDIV],[*]     ,[1])
72RTEMS_BSPOPTS_HELP([MPC55XX_FMPLL_PREDIV],
73[Must be defined to be the PLL predivider factor for clock generation])
74
75RTEMS_BSPOPTS_SET([MPC55XX_FMPLL_MFD],[gwlcfm],[99])
76RTEMS_BSPOPTS_SET([MPC55XX_FMPLL_MFD],[mpc5674f*],[66])
77RTEMS_BSPOPTS_SET([MPC55XX_FMPLL_MFD],[*]     ,[12])
78RTEMS_BSPOPTS_HELP([MPC55XX_FMPLL_MFD],
79[Must be defined to be the PLL multiplication factor for clock generation])
80
81RTEMS_BSPOPTS_SET([MPC55XX_SYSTEM_CLOCK_DIVIDER],[mpc5674f*],[2])
82RTEMS_BSPOPTS_SET([MPC55XX_SYSTEM_CLOCK_DIVIDER],[*],[1])
83RTEMS_BSPOPTS_HELP([MPC55XX_SYSTEM_CLOCK_DIVIDER],
84[system clock divider])
85
86RTEMS_BSPOPTS_SET([MPC55XX_EMIOS_PRESCALER],[gwlcfm],[66])
87RTEMS_BSPOPTS_SET([MPC55XX_EMIOS_PRESCALER],[mpc5643l*],[])
88RTEMS_BSPOPTS_SET([MPC55XX_EMIOS_PRESCALER],[*]     ,[1])
89RTEMS_BSPOPTS_HELP([MPC55XX_EMIOS_PRESCALER],
90[Must be defined to set the EMIOS prescaler])
91
92RTEMS_BSPOPTS_SET([MPC55XX_NULL_POINTER_PROTECTION],[mpc5566*],[1])
93RTEMS_BSPOPTS_SET([MPC55XX_NULL_POINTER_PROTECTION],[mpc5674f*],[1])
94RTEMS_BSPOPTS_HELP([MPC55XX_NULL_POINTER_PROTECTION],
95[enable NULL pointer protection])
96
97RTEMS_BSPOPTS_SET([HAS_SMC91111],[phycore_mpc5554],[1])
98RTEMS_BSPOPTS_HELP([HAS_SMC91111],
99[If defined the board has the SMC91111 networking chip.])
100
101RTEMS_BSPOPTS_SET([SMC91111_ENADDR_IS_SETUP],[phycore_mpc5554],[1])
102RTEMS_BSPOPTS_HELP([SMC91111_ENADDR_IS_SETUP],
103[If defined the SMC91111 chip has the ethernet address loaded at reset.])
104
105RTEMS_BSPOPTS_SET([SMSC9218I_EDMA_RX_CHANNEL],[*],[49])
106RTEMS_BSPOPTS_HELP([SMSC9218I_EDMA_RX_CHANNEL],
107[receive eDMA channel for SMSC9218I network interface])
108
109RTEMS_BSPOPTS_SET([SMSC9218I_EDMA_TX_CHANNEL],[*],[48])
110RTEMS_BSPOPTS_HELP([SMSC9218I_EDMA_TX_CHANNEL],
111[transmit eDMA channel for SMSC9218I network interface])
112
113RTEMS_BSPOPTS_SET([SMSC9218I_BIG_ENDIAN_SUPPORT],[mpc5674f_ecu508*],[1])
114RTEMS_BSPOPTS_HELP([SMSC9218I_BIG_ENDIAN_SUPPORT],
115[enable big endian support for SMSC9218I network interface])
116
117RTEMS_BSPOPTS_SET([SMSC9218I_ENABLE_LED_OUTPUTS],[mpc5674f_ecu508*],[1])
118RTEMS_BSPOPTS_HELP([SMSC9218I_ENABLE_LED_OUTPUTS],
119[enable LED outputs for SMSC9218I network interface])
120
121RTEMS_BSPOPTS_SET([SMSC9218I_RESET_PIN],[mpc5674f_ecu508*],[433])
122RTEMS_BSPOPTS_SET([SMSC9218I_RESET_PIN],[*],[186])
123RTEMS_BSPOPTS_HELP([SMSC9218I_RESET_PIN],
124[reset pin for SMSC9218I network interface])
125
126RTEMS_BSPOPTS_SET([SMSC9218I_IRQ_PIN],[mpc5674f_ecu508*],[450])
127RTEMS_BSPOPTS_SET([SMSC9218I_IRQ_PIN],[*],[193])
128RTEMS_BSPOPTS_HELP([SMSC9218I_IRQ_PIN],
129[IRQ pin for SMSC9218I network interface])
130
131RTEMS_BSPOPTS_SET([MPC55XX_CLOCK_EMIOS_CHANNEL],[mpc5643l*],[])
132RTEMS_BSPOPTS_SET([MPC55XX_CLOCK_EMIOS_CHANNEL],[mpc5674f*],[31])
133RTEMS_BSPOPTS_SET([MPC55XX_CLOCK_EMIOS_CHANNEL],[*],[23])
134RTEMS_BSPOPTS_HELP([MPC55XX_CLOCK_EMIOS_CHANNEL],
135[selects the eMIOS channel for the RTEMS system tick (the default is the last channel)])
136
137RTEMS_BSPOPTS_SET([MPC55XX_CLOCK_PIT_CHANNEL],[mpc5643l*],[3])
138RTEMS_BSPOPTS_SET([MPC55XX_CLOCK_PIT_CHANNEL],[*],[])
139RTEMS_BSPOPTS_HELP([MPC55XX_CLOCK_PIT_CHANNEL],
140[selects the PIT channel for the RTEMS system tick (the default is the last channel)])
141
142RTEMS_BSPOPTS_SET([MPC55XX_CHIP_TYPE],[gwlcfm],[5516])
143RTEMS_BSPOPTS_SET([MPC55XX_CHIP_TYPE],[mpc5566*],[5566])
144RTEMS_BSPOPTS_SET([MPC55XX_CHIP_TYPE],[mpc5643l*],[5643])
145RTEMS_BSPOPTS_SET([MPC55XX_CHIP_TYPE],[mpc5674f*],[5674])
146RTEMS_BSPOPTS_SET([MPC55XX_CHIP_TYPE],[*],[5554])
147RTEMS_BSPOPTS_HELP([MPC55XX_CHIP_TYPE],
148[specifies the chip type in use (e.g. 5554 for MPC5554)])
149
150RTEMS_BSPOPTS_SET([MPC55XX_CHIP_FAMILY],[*],[(MPC55XX_CHIP_TYPE / 10)])
151RTEMS_BSPOPTS_HELP([MPC55XX_CHIP_FAMILY],
152[specifies the chip family in use (e.g. 555 for MPC5554)])
153
154RTEMS_BSPOPTS_SET([MPC55XX_EARLY_STACK_SIZE],[*],[1024])
155RTEMS_BSPOPTS_HELP([MPC55XX_EARLY_STACK_SIZE],
156[size of the early initialization stack in bytes])
157
158RTEMS_BSPOPTS_SET([MPC55XX_BOOTFLAGS],[*],[])
159RTEMS_BSPOPTS_HELP([MPC55XX_BOOTFLAGS],
160[if defined, builds in bootflags above the RCHW for setup in a debugger to avoid startup MMU setup])
161
162RTEMS_BSPOPTS_SET([MPC55XX_BOARD_MPC5674FEVB],[mpc5674fevb*],[1])
163RTEMS_BSPOPTS_HELP([MPC55XX_BOARD_MPC5674FEVB],[if defined, use custom settings for MPC5674FEVB board])
164
165RTEMS_BSPOPTS_SET([MPC55XX_BOARD_MPC5566EVB],[mpc5566evb*],[1])
166RTEMS_BSPOPTS_HELP([MPC55XX_BOARD_MPC5566EVB],[if defined, use custom settings for MPC5566EVB board])
167
168RTEMS_BSPOPTS_SET([MPC55XX_BOARD_GWLCFM],[gwlcfm],[1])
169RTEMS_BSPOPTS_HELP([MPC55XX_BOARD_GWLCFM],[if defined, use custom settings for GWLCFM board])
170
171RTEMS_BSPOPTS_SET([MPC55XX_BOARD_MPC5674F_ECU508],[mpc5674f_ecu508*],[1])
172RTEMS_BSPOPTS_HELP([MPC55XX_BOARD_MPC5674F_ECU508],[if defined, use custom settings for ECU508 board])
173
174RTEMS_BSPOPTS_SET([MPC55XX_BOARD_PHYCORE_MPC5554],[phycore_mpc5554],[1])
175RTEMS_BSPOPTS_HELP([MPC55XX_BOARD_PHYCORE_MPC5554],[if defined, use custom settings for phyCORE MPC5554 board])
176
177RTEMS_BSPOPTS_SET([RTEMS_BSP_I2C_EEPROM_DEVICE_NAME],[gwlcfm],['"eeprom"'])
178RTEMS_BSPOPTS_HELP([RTEMS_BSP_I2C_EEPROM_DEVICE_NAME],[EEPROM name for LibI2C])
179RTEMS_BSPOPTS_SET([RTEMS_BSP_I2C_EEPROM_DEVICE_PATH],[gwlcfm],['"/dev/i2c1.eeprom"'])
180RTEMS_BSPOPTS_HELP([RTEMS_BSP_I2C_EEPROM_DEVICE_PATH],[EEPROM device file path])
181
182RTEMS_BSPOPTS_SET([MPC55XX_NEEDS_LOW_LEVEL_INIT],[mpc5674f_ecu508_app],[])
183RTEMS_BSPOPTS_SET([MPC55XX_NEEDS_LOW_LEVEL_INIT],[*],[1])
184RTEMS_BSPOPTS_HELP([MPC55XX_NEEDS_LOW_LEVEL_INIT],[if defined, do low level initialization])
185
186AC_CONFIG_FILES([Makefile
187include/bspopts.h])
188
189RTEMS_BSP_CLEANUP_OPTIONS(0, 1)
190RTEMS_BSP_LINKCMDS
191
192RTEMS_PPC_EXCEPTIONS
193
194AC_OUTPUT
Note: See TracBrowser for help on using the repository browser.