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

4.11
Last change on this file since c934a10d was c934a10d, checked in by Sebastian Huber <sebastian.huber@…>, on Jan 11, 2013 at 1:41:53 PM

bsp/mpc55xx: Add BSP_DATA_CACHE_USE_WRITE_THROUGH

  • Property mode set to 100644
File size: 9.3 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_DATA_CACHE_USE_WRITE_THROUGH],[mpc5674f_ecu508*],[1])
36RTEMS_BSPOPTS_SET([BSP_DATA_CACHE_USE_WRITE_THROUGH],[*],[])
37RTEMS_BSPOPTS_HELP([BSP_DATA_CACHE_USE_WRITE_THROUGH],
38[use write-through for data cache])
39
40RTEMS_BSPOPTS_SET([PPC_EXC_CONFIG_USE_FIXED_HANDLER],[*],[1])
41RTEMS_BSPOPTS_HELP([PPC_EXC_CONFIG_USE_FIXED_HANDLER],
42[use fixed high-level exception handler])
43
44RTEMS_BSPOPTS_SET([PPC_EXC_CONFIG_BOOKE_ONLY],[*],[1])
45RTEMS_BSPOPTS_HELP([PPC_EXC_CONFIG_BOOKE_ONLY],
46[only support Book E exception types])
47
48RTEMS_BSPOPTS_SET([BSP_INTERRUPT_HANDLER_TABLE_SIZE],[mpc5643l*],[127])
49RTEMS_BSPOPTS_SET([BSP_INTERRUPT_HANDLER_TABLE_SIZE],[mpc5566*],[127])
50RTEMS_BSPOPTS_SET([BSP_INTERRUPT_HANDLER_TABLE_SIZE],[mpc5674f*],[255])
51RTEMS_BSPOPTS_SET([BSP_INTERRUPT_HANDLER_TABLE_SIZE],[*],[63])
52RTEMS_BSPOPTS_HELP([BSP_INTERRUPT_HANDLER_TABLE_SIZE],
53[defines the maximum number of interrupt handlers])
54
55RTEMS_BSPOPTS_SET([MPC55XX_CONSOLE_MINOR],[mpc5674f_ecu508*],[2])
56RTEMS_BSPOPTS_SET([MPC55XX_CONSOLE_MINOR],[*],[0])
57RTEMS_BSPOPTS_HELP([MPC55XX_CONSOLE_MINOR],
58[determines which serial device will be registered as /dev/console])
59
60RTEMS_BSPOPTS_SET([BSP_DEFAULT_BAUD_RATE],[*],[115200])
61RTEMS_BSPOPTS_HELP([BSP_DEFAULT_BAUD_RATE],
62[default console baud])
63
64RTEMS_BSPOPTS_SET([MPC55XX_ESCI_USE_INTERRUPTS],[*],[1])
65RTEMS_BSPOPTS_HELP([MPC55XX_ESCI_USE_INTERRUPTS],
66[define to zero or one to disable or enable interrupts for the eSCI devices])
67
68RTEMS_BSPOPTS_SET([MPC55XX_REFERENCE_CLOCK],[gwlcfm],[40000000])
69RTEMS_BSPOPTS_SET([MPC55XX_REFERENCE_CLOCK],[mpc5643l_evb*],[40000000])
70RTEMS_BSPOPTS_SET([MPC55XX_REFERENCE_CLOCK],[mpc5674f*],[40000000])
71RTEMS_BSPOPTS_SET([MPC55XX_REFERENCE_CLOCK],[*],[8000000])
72RTEMS_BSPOPTS_HELP([MPC55XX_REFERENCE_CLOCK],
73[Must be defined to be the external reference clock (in Hz)
74 for clock generation])
75
76RTEMS_BSPOPTS_SET([MPC55XX_FMPLL_CLK_OUT],[gwlcfm],[66000000])
77RTEMS_BSPOPTS_SET([MPC55XX_FMPLL_CLK_OUT],[mpc5674f*],[264000000])
78RTEMS_BSPOPTS_SET([MPC55XX_FMPLL_CLK_OUT],[*]     ,[128000000])
79RTEMS_BSPOPTS_HELP([MPC55XX_FMPLL_CLK_OUT],
80[Must be defined to be the PLL output clock (in Hz) for clock generation])
81
82RTEMS_BSPOPTS_SET([MPC55XX_FMPLL_PREDIV],[gwlcfm],[10])
83RTEMS_BSPOPTS_SET([MPC55XX_FMPLL_PREDIV],[mpc5674f*],[5])
84RTEMS_BSPOPTS_SET([MPC55XX_FMPLL_PREDIV],[*]     ,[1])
85RTEMS_BSPOPTS_HELP([MPC55XX_FMPLL_PREDIV],
86[Must be defined to be the PLL predivider factor for clock generation])
87
88RTEMS_BSPOPTS_SET([MPC55XX_FMPLL_MFD],[gwlcfm],[99])
89RTEMS_BSPOPTS_SET([MPC55XX_FMPLL_MFD],[mpc5674f*],[66])
90RTEMS_BSPOPTS_SET([MPC55XX_FMPLL_MFD],[*]     ,[12])
91RTEMS_BSPOPTS_HELP([MPC55XX_FMPLL_MFD],
92[Must be defined to be the PLL multiplication factor for clock generation])
93
94RTEMS_BSPOPTS_SET([MPC55XX_FMPLL_ESYNCR1_CLKCFG],[mpc5674f_rsm6*],[6])
95RTEMS_BSPOPTS_SET([MPC55XX_FMPLL_ESYNCR1_CLKCFG],[*],[7])
96RTEMS_BSPOPTS_HELP([MPC55XX_FMPLL_ESYNCR1_CLKCFG],
97[the FMPLL ESYNCR1[CLKCFG] value])
98
99RTEMS_BSPOPTS_SET([MPC55XX_SYSTEM_CLOCK_DIVIDER],[mpc5674f*],[2])
100RTEMS_BSPOPTS_SET([MPC55XX_SYSTEM_CLOCK_DIVIDER],[*],[1])
101RTEMS_BSPOPTS_HELP([MPC55XX_SYSTEM_CLOCK_DIVIDER],
102[system clock divider])
103
104RTEMS_BSPOPTS_SET([MPC55XX_EMIOS_PRESCALER],[gwlcfm],[66])
105RTEMS_BSPOPTS_SET([MPC55XX_EMIOS_PRESCALER],[mpc5643l*],[])
106RTEMS_BSPOPTS_SET([MPC55XX_EMIOS_PRESCALER],[*]     ,[1])
107RTEMS_BSPOPTS_HELP([MPC55XX_EMIOS_PRESCALER],
108[Must be defined to set the EMIOS prescaler])
109
110RTEMS_BSPOPTS_SET([MPC55XX_NULL_POINTER_PROTECTION],[mpc5566*],[1])
111RTEMS_BSPOPTS_SET([MPC55XX_NULL_POINTER_PROTECTION],[mpc5674f*],[1])
112RTEMS_BSPOPTS_HELP([MPC55XX_NULL_POINTER_PROTECTION],
113[enable NULL pointer protection])
114
115RTEMS_BSPOPTS_SET([HAS_SMC91111],[phycore_mpc5554],[1])
116RTEMS_BSPOPTS_HELP([HAS_SMC91111],
117[If defined the board has the SMC91111 networking chip.])
118
119RTEMS_BSPOPTS_SET([SMC91111_ENADDR_IS_SETUP],[phycore_mpc5554],[1])
120RTEMS_BSPOPTS_HELP([SMC91111_ENADDR_IS_SETUP],
121[If defined the SMC91111 chip has the ethernet address loaded at reset.])
122
123RTEMS_BSPOPTS_SET([SMSC9218I_EDMA_RX_CHANNEL],[*],[49])
124RTEMS_BSPOPTS_HELP([SMSC9218I_EDMA_RX_CHANNEL],
125[receive eDMA channel for SMSC9218I network interface])
126
127RTEMS_BSPOPTS_SET([SMSC9218I_EDMA_TX_CHANNEL],[*],[48])
128RTEMS_BSPOPTS_HELP([SMSC9218I_EDMA_TX_CHANNEL],
129[transmit eDMA channel for SMSC9218I network interface])
130
131RTEMS_BSPOPTS_SET([SMSC9218I_BIG_ENDIAN_SUPPORT],[mpc5674f_ecu508*],[1])
132RTEMS_BSPOPTS_HELP([SMSC9218I_BIG_ENDIAN_SUPPORT],
133[enable big endian support for SMSC9218I network interface])
134
135RTEMS_BSPOPTS_SET([SMSC9218I_ENABLE_LED_OUTPUTS],[mpc5674f_ecu508*],[1])
136RTEMS_BSPOPTS_HELP([SMSC9218I_ENABLE_LED_OUTPUTS],
137[enable LED outputs for SMSC9218I network interface])
138
139RTEMS_BSPOPTS_SET([SMSC9218I_RESET_PIN],[mpc5674f_ecu508*],[433])
140RTEMS_BSPOPTS_SET([SMSC9218I_RESET_PIN],[*],[186])
141RTEMS_BSPOPTS_HELP([SMSC9218I_RESET_PIN],
142[reset pin for SMSC9218I network interface])
143
144RTEMS_BSPOPTS_SET([SMSC9218I_IRQ_PIN],[mpc5674f_ecu508*],[450])
145RTEMS_BSPOPTS_SET([SMSC9218I_IRQ_PIN],[*],[193])
146RTEMS_BSPOPTS_HELP([SMSC9218I_IRQ_PIN],
147[IRQ pin for SMSC9218I network interface])
148
149RTEMS_BSPOPTS_SET([MPC55XX_CLOCK_EMIOS_CHANNEL],[mpc5643l*],[])
150RTEMS_BSPOPTS_SET([MPC55XX_CLOCK_EMIOS_CHANNEL],[mpc5674f*],[31])
151RTEMS_BSPOPTS_SET([MPC55XX_CLOCK_EMIOS_CHANNEL],[*],[23])
152RTEMS_BSPOPTS_HELP([MPC55XX_CLOCK_EMIOS_CHANNEL],
153[selects the eMIOS channel for the RTEMS system tick (the default is the last channel)])
154
155RTEMS_BSPOPTS_SET([MPC55XX_CLOCK_PIT_CHANNEL],[mpc5643l*],[3])
156RTEMS_BSPOPTS_SET([MPC55XX_CLOCK_PIT_CHANNEL],[*],[])
157RTEMS_BSPOPTS_HELP([MPC55XX_CLOCK_PIT_CHANNEL],
158[selects the PIT channel for the RTEMS system tick (the default is the last channel)])
159
160RTEMS_BSPOPTS_SET([MPC55XX_CHIP_TYPE],[gwlcfm],[5516])
161RTEMS_BSPOPTS_SET([MPC55XX_CHIP_TYPE],[mpc5566*],[5566])
162RTEMS_BSPOPTS_SET([MPC55XX_CHIP_TYPE],[mpc5643l*],[5643])
163RTEMS_BSPOPTS_SET([MPC55XX_CHIP_TYPE],[mpc5674f*],[5674])
164RTEMS_BSPOPTS_SET([MPC55XX_CHIP_TYPE],[*],[5554])
165RTEMS_BSPOPTS_HELP([MPC55XX_CHIP_TYPE],
166[specifies the chip type in use (e.g. 5554 for MPC5554)])
167
168RTEMS_BSPOPTS_SET([MPC55XX_CHIP_FAMILY],[*],[(MPC55XX_CHIP_TYPE / 10)])
169RTEMS_BSPOPTS_HELP([MPC55XX_CHIP_FAMILY],
170[specifies the chip family in use (e.g. 555 for MPC5554)])
171
172RTEMS_BSPOPTS_SET([MPC55XX_EARLY_STACK_SIZE],[*],[1024])
173RTEMS_BSPOPTS_HELP([MPC55XX_EARLY_STACK_SIZE],
174[size of the early initialization stack in bytes])
175
176RTEMS_BSPOPTS_SET([MPC55XX_BOOTFLAGS],[*],[])
177RTEMS_BSPOPTS_HELP([MPC55XX_BOOTFLAGS],
178[if defined, builds in bootflags above the RCHW for setup in a debugger to avoid startup MMU setup])
179
180RTEMS_BSPOPTS_SET([MPC55XX_BOARD_MPC5674FEVB],[mpc5674fevb*],[1])
181RTEMS_BSPOPTS_HELP([MPC55XX_BOARD_MPC5674FEVB],[if defined, use custom settings for MPC5674FEVB board])
182
183RTEMS_BSPOPTS_SET([MPC55XX_BOARD_MPC5566EVB],[mpc5566evb*],[1])
184RTEMS_BSPOPTS_HELP([MPC55XX_BOARD_MPC5566EVB],[if defined, use custom settings for MPC5566EVB board])
185
186RTEMS_BSPOPTS_SET([MPC55XX_BOARD_GWLCFM],[gwlcfm],[1])
187RTEMS_BSPOPTS_HELP([MPC55XX_BOARD_GWLCFM],[if defined, use custom settings for GWLCFM board])
188
189RTEMS_BSPOPTS_SET([MPC55XX_BOARD_MPC5674F_ECU508],[mpc5674f_ecu508*],[1])
190RTEMS_BSPOPTS_HELP([MPC55XX_BOARD_MPC5674F_ECU508],[if defined, use custom settings for ECU508 board])
191
192RTEMS_BSPOPTS_SET([MPC55XX_BOARD_MPC5674F_RSM6],[mpc5674f_rsm6*],[1])
193RTEMS_BSPOPTS_HELP([MPC55XX_BOARD_MPC5674F_RSM6],[if defined, use custom settings for RSM6 board])
194
195RTEMS_BSPOPTS_SET([MPC55XX_BOARD_MPC5674F_RSM6_KOMA],[mpc5674f_rsm6_koma*],[1])
196RTEMS_BSPOPTS_HELP([MPC55XX_BOARD_MPC5674F_RSM6_KOMA],[if defined, use custom settings for RSM6 board KoMa controller])
197
198RTEMS_BSPOPTS_SET([MPC55XX_BOARD_MPC5674F_RSM6_MOMA],[mpc5674f_rsm6_moma*],[1])
199RTEMS_BSPOPTS_HELP([MPC55XX_BOARD_MPC5674F_RSM6_MOMA],[if defined, use custom settings for RSM6 board MoMa controller])
200
201RTEMS_BSPOPTS_SET([MPC55XX_BOARD_PHYCORE_MPC5554],[phycore_mpc5554],[1])
202RTEMS_BSPOPTS_HELP([MPC55XX_BOARD_PHYCORE_MPC5554],[if defined, use custom settings for phyCORE MPC5554 board])
203
204RTEMS_BSPOPTS_SET([RTEMS_BSP_I2C_EEPROM_DEVICE_NAME],[gwlcfm],['"eeprom"'])
205RTEMS_BSPOPTS_HELP([RTEMS_BSP_I2C_EEPROM_DEVICE_NAME],[EEPROM name for LibI2C])
206RTEMS_BSPOPTS_SET([RTEMS_BSP_I2C_EEPROM_DEVICE_PATH],[gwlcfm],['"/dev/i2c1.eeprom"'])
207RTEMS_BSPOPTS_HELP([RTEMS_BSP_I2C_EEPROM_DEVICE_PATH],[EEPROM device file path])
208
209RTEMS_BSPOPTS_SET([MPC55XX_NEEDS_LOW_LEVEL_INIT],[mpc5674f_*app],[])
210RTEMS_BSPOPTS_SET([MPC55XX_NEEDS_LOW_LEVEL_INIT],[*],[1])
211RTEMS_BSPOPTS_HELP([MPC55XX_NEEDS_LOW_LEVEL_INIT],[if defined, do low level initialization])
212
213AC_CONFIG_FILES([Makefile
214include/bspopts.h])
215
216RTEMS_BSP_CLEANUP_OPTIONS(0, 1)
217RTEMS_BSP_LINKCMDS
218
219RTEMS_PPC_EXCEPTIONS
220
221AC_OUTPUT
Note: See TracBrowser for help on using the repository browser.