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

4.104.11
Last change on this file since 6b150cc was 2f5435a4, checked in by Thomas Doerfler <Thomas.Doerfler@…>, on Mar 25, 2010 at 8:26:00 PM

add support for mpc551x based GW_LCFM system

  • Property mode set to 100644
File size: 3.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.60)
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.10])
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([UARTS_USE_TERMIOS],[*],[0])
27RTEMS_BSPOPTS_HELP([UARTS_USE_TERMIOS],
28[Define to 1 if you want termios support for every port.
29 Termios support is independent of the choice of UART I/O mode.])
30
31RTEMS_BSPOPTS_SET([CONSOLE_MINOR],[GWLCFM],[MPC55XX_ESCI_A_MINOR])
32RTEMS_BSPOPTS_SET([CONSOLE_MINOR],[*]     ,[MPC55XX_ESCI_A_MINOR])
33RTEMS_BSPOPTS_HELP([CONSOLE_MINOR],
34[Must be defined to be one of MPC55XX_ESCI_A_MINOR or MPC55XX_ESCI_B_MINOR.  Determines which
35 device will be registered as /dev/console.])
36
37RTEMS_BSPOPTS_SET([UARTS_IO_MODE],[GWLCFM],[1])
38RTEMS_BSPOPTS_SET([UARTS_IO_MODE],[*]     ,[0])
39RTEMS_BSPOPTS_HELP([UARTS_IO_MODE],
40[Define to 1 if you want interrupt-driven I/O for the SCI ports.])
41
42RTEMS_BSPOPTS_SET([PRINTK_MINOR],[GWLCFM],[MPC55XX_ESCI_A_MINOR])
43RTEMS_BSPOPTS_SET([PRINTK_MINOR],[*]     ,[MPC55XX_ESCI_B_MINOR])
44RTEMS_BSPOPTS_HELP([PRINTK_MINOR],
45[Must be defined to be one of MPC55XX_ESCI_A_MINOR or MPC55XX_ESCI_B_MINOR.  Determines which
46 device is used for output by printk().  The printk port always uses polled
47 I/O.  Don't open the printk port from RTEMS unless also using polled I/O
48 for the SCI ports.])
49
50RTEMS_BSPOPTS_SET([MPC55XX_FMPLL_REF_CLOCK],[GWLCFM],[40000000])
51RTEMS_BSPOPTS_SET([MPC55XX_FMPLL_REF_CLOCK],[*]     ,[8000000])
52RTEMS_BSPOPTS_HELP([MPC55XX_FMPLL_REF_CLOCK],
53[Must be defined to be the external reference clock (in Hz)
54 for clock generation])
55
56RTEMS_BSPOPTS_SET([MPC55XX_FMPLL_CLK_OUT],[GWLCFM],[66000000])
57RTEMS_BSPOPTS_SET([MPC55XX_FMPLL_CLK_OUT],[*]     ,[128000000])
58RTEMS_BSPOPTS_HELP([MPC55XX_FMPLL_REF_CLOCK],
59[Must be defined to be the PLL output clock (in Hz) for clock generation])
60
61RTEMS_BSPOPTS_SET([MPC55XX_FMPLL_PREDIV],[GWLCFM],[10])
62RTEMS_BSPOPTS_SET([MPC55XX_FMPLL_PREDIV],[*]     ,[1])
63RTEMS_BSPOPTS_HELP([MPC55XX_FMPLL_PREDIV],
64[Must be defined to be the PLL predivider factor for clock generation])
65
66RTEMS_BSPOPTS_SET([MPC55XX_FMPLL_MFD],[GWLCFM],[99])
67RTEMS_BSPOPTS_SET([MPC55XX_FMPLL_MFD],[*]     ,[12])
68RTEMS_BSPOPTS_HELP([MPC55XX_FMPLL_MFD],
69[Must be defined to be the PLL multiplication factor for clock generation])
70
71RTEMS_BSPOPTS_SET([MPC55XX_CHIP_DERIVATE],[*]         ,[5554])
72RTEMS_BSPOPTS_SET([MPC55XX_CHIP_DERIVATE],[MPC5566EVB],[5566])
73RTEMS_BSPOPTS_SET([MPC55XX_CHIP_DERIVATE],[GWLCFM]    ,[5516])
74RTEMS_BSPOPTS_HELP([MPC55XX_CHIP_DERIVATE],
75[specifies the chip derivate in use (e.g. 5554 for MPC5554)])
76
77AC_CONFIG_FILES([Makefile
78include/bspopts.h])
79
80RTEMS_BSP_CLEANUP_OPTIONS(0, 0)
81
82RTEMS_PPC_EXCEPTIONS
83
84AC_OUTPUT
Note: See TracBrowser for help on using the repository browser.