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

4.11
Last change on this file since b9b3f3b7 was b9b3f3b7, checked in by Sebastian Huber <sebastian.huber@…>, on Jul 18, 2012 at 7:20:46 AM

bsp/mpc55xx: Add MPC55XX_NULL_POINTER_PROTECTION

  • Property mode set to 100644
File size: 6.5 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.68])
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.11.1])
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_ESCI_CONSOLE_MINOR],[*],[0])
43RTEMS_BSPOPTS_HELP([MPC55XX_ESCI_CONSOLE_MINOR],
44[determines which eSCI device will be registered as /dev/console])
45
46RTEMS_BSPOPTS_SET([MPC55XX_ESCI_USE_INTERRUPTS],[*],[1])
47RTEMS_BSPOPTS_HELP([MPC55XX_ESCI_USE_INTERRUPTS],
48[define to zero or one to disable or enable interrupts for the eSCI devices])
49
50RTEMS_BSPOPTS_SET([MPC55XX_REFERENCE_CLOCK],[gwlcfm],[40000000])
51RTEMS_BSPOPTS_SET([MPC55XX_REFERENCE_CLOCK],[mpc5643l_evb*],[40000000])
52RTEMS_BSPOPTS_SET([MPC55XX_REFERENCE_CLOCK],[mpc5674fevb*],[40000000])
53RTEMS_BSPOPTS_SET([MPC55XX_REFERENCE_CLOCK],[*],[8000000])
54RTEMS_BSPOPTS_HELP([MPC55XX_REFERENCE_CLOCK],
55[Must be defined to be the external reference clock (in Hz)
56 for clock generation])
57
58RTEMS_BSPOPTS_SET([MPC55XX_FMPLL_CLK_OUT],[gwlcfm],[66000000])
59RTEMS_BSPOPTS_SET([MPC55XX_FMPLL_CLK_OUT],[mpc5674fevb*],[264000000])
60RTEMS_BSPOPTS_SET([MPC55XX_FMPLL_CLK_OUT],[*]     ,[128000000])
61RTEMS_BSPOPTS_HELP([MPC55XX_FMPLL_CLK_OUT],
62[Must be defined to be the PLL output clock (in Hz) for clock generation])
63
64RTEMS_BSPOPTS_SET([MPC55XX_FMPLL_PREDIV],[gwlcfm],[10])
65RTEMS_BSPOPTS_SET([MPC55XX_FMPLL_PREDIV],[mpc5674fevb*],[5])
66RTEMS_BSPOPTS_SET([MPC55XX_FMPLL_PREDIV],[*]     ,[1])
67RTEMS_BSPOPTS_HELP([MPC55XX_FMPLL_PREDIV],
68[Must be defined to be the PLL predivider factor for clock generation])
69
70RTEMS_BSPOPTS_SET([MPC55XX_FMPLL_MFD],[gwlcfm],[99])
71RTEMS_BSPOPTS_SET([MPC55XX_FMPLL_MFD],[mpc5674fevb*],[66])
72RTEMS_BSPOPTS_SET([MPC55XX_FMPLL_MFD],[*]     ,[12])
73RTEMS_BSPOPTS_HELP([MPC55XX_FMPLL_MFD],
74[Must be defined to be the PLL multiplication factor for clock generation])
75
76RTEMS_BSPOPTS_SET([MPC55XX_EMIOS_PRESCALER],[gwlcfm],[66])
77RTEMS_BSPOPTS_SET([MPC55XX_EMIOS_PRESCALER],[mpc5643l*],[])
78RTEMS_BSPOPTS_SET([MPC55XX_EMIOS_PRESCALER],[*]     ,[1])
79RTEMS_BSPOPTS_HELP([MPC55XX_EMIOS_PRESCALER],
80[Must be defined to set the EMIOS prescaler])
81
82RTEMS_BSPOPTS_SET([MPC55XX_NULL_POINTER_PROTECTION],[mpc5566*],[1])
83RTEMS_BSPOPTS_SET([MPC55XX_NULL_POINTER_PROTECTION],[mpc5674f*],[1])
84RTEMS_BSPOPTS_HELP([MPC55XX_NULL_POINTER_PROTECTION],
85[enable NULL pointer protection])
86
87RTEMS_BSPOPTS_SET([HAS_SMC91111],[phycore_mpc5554],[1])
88RTEMS_BSPOPTS_HELP([HAS_SMC91111],
89[If defined the board has the SMC91111 networking chip.])
90
91RTEMS_BSPOPTS_SET([SMC91111_ENADDR_IS_SETUP],[phycore_mpc5554],[1])
92RTEMS_BSPOPTS_HELP([SMC91111_ENADDR_IS_SETUP],
93[If defined the SMC91111 chip has the ethernet address loaded at reset.])
94
95RTEMS_BSPOPTS_SET([SMSC9218I_EDMA_RX_CHANNEL],[*],[49])
96RTEMS_BSPOPTS_HELP([SMSC9218I_EDMA_RX_CHANNEL],
97[receive eDMA channel for SMSC9218I network interface])
98
99RTEMS_BSPOPTS_SET([SMSC9218I_EDMA_TX_CHANNEL],[*],[48])
100RTEMS_BSPOPTS_HELP([SMSC9218I_EDMA_TX_CHANNEL],
101[transmit eDMA channel for SMSC9218I network interface])
102
103RTEMS_BSPOPTS_SET([MPC55XX_CLOCK_EMIOS_CHANNEL],[mpc5643l*],[])
104RTEMS_BSPOPTS_SET([MPC55XX_CLOCK_EMIOS_CHANNEL],[mpc5674fevb*],[31])
105RTEMS_BSPOPTS_SET([MPC55XX_CLOCK_EMIOS_CHANNEL],[*],[23])
106RTEMS_BSPOPTS_HELP([MPC55XX_CLOCK_EMIOS_CHANNEL],
107[selects the eMIOS channel for the RTEMS system tick (the default is the last channel)])
108
109RTEMS_BSPOPTS_SET([MPC55XX_CLOCK_PIT_CHANNEL],[mpc5643l*],[3])
110RTEMS_BSPOPTS_SET([MPC55XX_CLOCK_PIT_CHANNEL],[*],[])
111RTEMS_BSPOPTS_HELP([MPC55XX_CLOCK_PIT_CHANNEL],
112[selects the PIT channel for the RTEMS system tick (the default is the last channel)])
113
114RTEMS_BSPOPTS_SET([MPC55XX_CHIP_TYPE],[gwlcfm],[5516])
115RTEMS_BSPOPTS_SET([MPC55XX_CHIP_TYPE],[mpc5566*],[5566])
116RTEMS_BSPOPTS_SET([MPC55XX_CHIP_TYPE],[mpc5643l*],[5643])
117RTEMS_BSPOPTS_SET([MPC55XX_CHIP_TYPE],[mpc5674f*],[5674])
118RTEMS_BSPOPTS_SET([MPC55XX_CHIP_TYPE],[*],[5554])
119RTEMS_BSPOPTS_HELP([MPC55XX_CHIP_TYPE],
120[specifies the chip type in use (e.g. 5554 for MPC5554)])
121
122RTEMS_BSPOPTS_SET([MPC55XX_EARLY_STACK_SIZE],[*],[1024])
123RTEMS_BSPOPTS_HELP([MPC55XX_EARLY_STACK_SIZE],
124[size of the early initialization stack in bytes])
125
126RTEMS_BSPOPTS_SET([MPC55XX_BOOTFLAGS],[*],[])
127RTEMS_BSPOPTS_HELP([MPC55XX_BOOTFLAGS],
128[if defined, builds in bootflags above the RCHW for setup in a debugger to avoid startup MMU setup])
129
130RTEMS_BSPOPTS_SET([MPC55XX_BOARD_MPC5674FEVB],[mpc5674fevb*],[1])
131RTEMS_BSPOPTS_HELP([MPC55XX_BOARD_MPC5674FEVB],[if defined, use custom settings for MPC5674FEVB board])
132
133RTEMS_BSPOPTS_SET([MPC55XX_BOARD_MPC5566EVB],[mpc5566evb*],[1])
134RTEMS_BSPOPTS_HELP([MPC55XX_BOARD_MPC5566EVB],[if defined, use custom settings for MPC5566EVB board])
135
136RTEMS_BSPOPTS_SET([MPC55XX_BOARD_GWLCFM],[gwlcfm],[1])
137RTEMS_BSPOPTS_HELP([MPC55XX_BOARD_GWLCFM],[if defined, use custom settings for GWLCFM board])
138
139RTEMS_BSPOPTS_SET([MPC55XX_BOARD_PHYCORE_MPC5554],[phycore_mpc5554],[1])
140RTEMS_BSPOPTS_HELP([MPC55XX_BOARD_PHYCORE_MPC5554],[if defined, use custom settings for phyCORE MPC5554 board])
141
142RTEMS_BSPOPTS_SET([RTEMS_BSP_I2C_EEPROM_DEVICE_NAME],[gwlcfm],['"eeprom"'])
143RTEMS_BSPOPTS_HELP([RTEMS_BSP_I2C_EEPROM_DEVICE_NAME],[EEPROM name for LibI2C])
144RTEMS_BSPOPTS_SET([RTEMS_BSP_I2C_EEPROM_DEVICE_PATH],[gwlcfm],['"/dev/i2c1.eeprom"'])
145RTEMS_BSPOPTS_HELP([RTEMS_BSP_I2C_EEPROM_DEVICE_PATH],[EEPROM device file path])
146
147RTEMS_BSPOPTS_SET([MPC55XX_NEEDS_LOW_LEVEL_INIT],[*],[1])
148RTEMS_BSPOPTS_HELP([MPC55XX_NEEDS_LOW_LEVEL_INIT],[if defined, do low level initialization])
149
150AC_CONFIG_FILES([Makefile
151include/bspopts.h])
152
153RTEMS_BSP_CLEANUP_OPTIONS(0, 1)
154RTEMS_BSP_LINKCMDS
155
156RTEMS_PPC_EXCEPTIONS
157
158AC_OUTPUT
Note: See TracBrowser for help on using the repository browser.