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

4.115
Last change on this file since 105ccdd5 was a762dc2, checked in by Sebastian Huber <sebastian.huber@…>, on Jan 23, 2012 at 10:19:22 AM

Support for MPC5643L.

Rework of the start sequence to reduce the amount assembler code and to
support configuration tables which may be provided by the application.

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