source: rtems/c/src/lib/libbsp/powerpc/qoriq/configure.ac @ bd39add

4.11
Last change on this file since bd39add was bd39add, checked in by Sebastian Huber <sebastian.huber@…>, on May 31, 2013 at 8:08:43 AM

bsp/qoriq: Add SMP support

  • Property mode set to 100644
File size: 4.5 KB
Line 
1AC_PREREQ([2.69])
2AC_INIT([rtems-c-src-lib-libbsp-powerpc-qoriq],[_RTEMS_VERSION],[http://www.rtems.org/bugzilla])
3AC_CONFIG_SRCDIR([bsp_specs])
4RTEMS_TOP(../../../../../..)
5
6RTEMS_CANONICAL_TARGET_CPU
7AM_INIT_AUTOMAKE([no-define nostdinc foreign 1.10])
8RTEMS_BSP_CONFIGURE
9
10RTEMS_PROG_CC_FOR_TARGET
11RTEMS_CANONICALIZE_TOOLS
12RTEMS_PROG_CCAS
13
14RTEMS_BSPOPTS_SET_DATA_CACHE_ENABLED([*],[1])
15RTEMS_BSPOPTS_HELP_DATA_CACHE_ENABLED
16
17RTEMS_BSPOPTS_SET_INSTRUCTION_CACHE_ENABLED([*],[1])
18RTEMS_BSPOPTS_HELP_INSTRUCTION_CACHE_ENABLED
19
20RTEMS_BSPOPTS_SET([BSP_USE_DATA_CACHE_BLOCK_TOUCH],[*],[1])
21RTEMS_BSPOPTS_HELP([BSP_USE_DATA_CACHE_BLOCK_TOUCH],[if defined use dcbt instruction])
22
23RTEMS_BSPOPTS_SET([PPC_EXC_CONFIG_USE_FIXED_HANDLER],[*],[1])
24RTEMS_BSPOPTS_HELP([PPC_EXC_CONFIG_USE_FIXED_HANDLER],
25[use fixed high-level exception handler])
26
27RTEMS_BSPOPTS_SET([PPC_EXC_CONFIG_BOOKE_ONLY],[*],[1])
28RTEMS_BSPOPTS_HELP([PPC_EXC_CONFIG_BOOKE_ONLY],
29[only support Book E exception types])
30
31RTEMS_BSPOPTS_SET([BSP_CONSOLE_BAUD],[*],[115200])
32RTEMS_BSPOPTS_HELP([BSP_CONSOLE_BAUD],[default baud for console and other serial devices])
33
34RTEMS_BSPOPTS_SET([BSP_USE_UART_INTERRUPTS],[*],[1])
35RTEMS_BSPOPTS_HELP([BSP_USE_UART_INTERRUPTS],[enable usage of interrupts for the UART modules])
36
37RTEMS_BSPOPTS_SET([HAS_UBOOT],[*],[1])
38RTEMS_BSPOPTS_HELP([HAS_UBOOT],[enables U-Boot support])
39
40RTEMS_BSPOPTS_SET([QORIQ_ETSEC_1_PHY_ADDR],[*],[-1])
41RTEMS_BSPOPTS_HELP([QORIQ_ETSEC_1_PHY_ADDR],[PHY address for eTSEC interface 1])
42
43RTEMS_BSPOPTS_SET([QORIQ_ETSEC_2_PHY_ADDR],[*],[0])
44RTEMS_BSPOPTS_HELP([QORIQ_ETSEC_2_PHY_ADDR],[PHY address for eTSEC interface 2])
45
46RTEMS_BSPOPTS_SET([QORIQ_ETSEC_3_PHY_ADDR],[*],[1])
47RTEMS_BSPOPTS_HELP([QORIQ_ETSEC_3_PHY_ADDR],[PHY address for eTSEC interface 3])
48
49RTEMS_BSPOPTS_SET([QORIQ_UART_0_ENABLE],[qoriq_core_0],[1])
50RTEMS_BSPOPTS_SET([QORIQ_UART_0_ENABLE],[qoriq_p1020rdb],[1])
51RTEMS_BSPOPTS_SET([QORIQ_UART_0_ENABLE],[*],[0])
52RTEMS_BSPOPTS_HELP([QORIQ_UART_0_ENABLE],[use 1 to enable UART 0, otherwise use 0])
53
54RTEMS_BSPOPTS_SET([QORIQ_UART_1_ENABLE],[qoriq_core_0],[1])
55RTEMS_BSPOPTS_SET([QORIQ_UART_1_ENABLE],[qoriq_p1020rdb],[1])
56RTEMS_BSPOPTS_SET([QORIQ_UART_1_ENABLE],[*],[0])
57RTEMS_BSPOPTS_HELP([QORIQ_UART_1_ENABLE],[use 1 to enable UART 1, otherwise use 0])
58
59RTEMS_BSPOPTS_SET([QORIQ_UART_BRIDGE_MASTER_CORE],[*],[0])
60RTEMS_BSPOPTS_HELP([QORIQ_UART_BRIDGE_MASTER_CORE],[UART to Intercom bridge master core index])
61
62RTEMS_BSPOPTS_SET([QORIQ_UART_BRIDGE_SLAVE_CORE],[*],[1])
63RTEMS_BSPOPTS_HELP([QORIQ_UART_BRIDGE_SLAVE_CORE],[UART to Intercom bridge slave core index])
64
65RTEMS_BSPOPTS_SET([QORIQ_UART_BRIDGE_TASK_PRIORITY],[*],[250])
66RTEMS_BSPOPTS_HELP([QORIQ_UART_BRIDGE_TASK_PRIORITY],[UART to Intercom bridge task priority])
67
68RTEMS_BSPOPTS_SET([QORIQ_UART_BRIDGE_0_ENABLE],[*],[0])
69RTEMS_BSPOPTS_HELP([QORIQ_UART_BRIDGE_0_ENABLE],[use 1 to enable UART 0 to Intercom bridge, otherwise use 0])
70
71RTEMS_BSPOPTS_SET([QORIQ_UART_BRIDGE_1_ENABLE],[qoriq_core_0],[1])
72RTEMS_BSPOPTS_SET([QORIQ_UART_BRIDGE_1_ENABLE],[qoriq_core_1],[1])
73RTEMS_BSPOPTS_SET([QORIQ_UART_BRIDGE_1_ENABLE],[*],[0])
74RTEMS_BSPOPTS_HELP([QORIQ_UART_BRIDGE_1_ENABLE],[use 1 to enable UART 1 to Intercom bridge, otherwise use 0])
75
76RTEMS_BSPOPTS_SET([BSP_DISABLE_UBOOT_WORK_AREA_CONFIG],[*],[1])
77RTEMS_BSPOPTS_HELP([BSP_DISABLE_UBOOT_WORK_AREA_CONFIG],[disable U-Boot work area configuration])
78
79RTEMS_BSPOPTS_SET([BSP_INTERRUPT_STACK_AT_WORK_AREA_BEGIN],[*],[1])
80RTEMS_BSPOPTS_HELP([BSP_INTERRUPT_STACK_AT_WORK_AREA_BEGIN],[indicate that the interrupt stack is at the work area begin])
81
82RTEMS_BSPOPTS_SET([QORIQ_INTERCOM_AREA_BEGIN],[*],[0x3000000])
83RTEMS_BSPOPTS_HELP([QORIQ_INTERCOM_AREA_BEGIN],[inter-processor communication area begin])
84RTEMS_BSPOPTS_SET([QORIQ_INTERCOM_AREA_SIZE],[*],[0x1000000])
85RTEMS_BSPOPTS_HELP([QORIQ_INTERCOM_AREA_SIZE],[inter-processor communication area size])
86
87RTEMS_BSPOPTS_SET([QORIQ_INITIAL_MSR],[*],[0x02000200])
88RTEMS_BSPOPTS_HELP([QORIQ_INITIAL_MSR],[initial MSR value])
89
90RTEMS_BSPOPTS_SET([QORIQ_INITIAL_SPEFSCR],[*],[0x00000000])
91RTEMS_BSPOPTS_HELP([QORIQ_INITIAL_SPEFSCR],[initial SPEFSCR value])
92
93RTEMS_BSPOPTS_SET([QORIQ_CLOCK_TIMER],[qoriq_core_1],[4])
94RTEMS_BSPOPTS_SET([QORIQ_CLOCK_TIMER],[*],[0])
95RTEMS_BSPOPTS_HELP([QORIQ_CLOCK_TIMER],[global timer used for system clock, 0..3 maps to A0..A3, and 4..7 maps to B0..B3])
96
97RTEMS_CHECK_NETWORKING
98AM_CONDITIONAL(HAS_NETWORKING,test "$HAS_NETWORKING" = "yes")
99
100RTEMS_CHECK_SMP
101AM_CONDITIONAL(HAS_SMP,[test "$rtems_cv_HAS_SMP" = "yes"])
102
103RTEMS_BSP_CLEANUP_OPTIONS(0, 0)
104RTEMS_PPC_EXCEPTIONS
105RTEMS_BSP_LINKCMDS
106
107AC_CONFIG_FILES([Makefile])
108AC_OUTPUT
Note: See TracBrowser for help on using the repository browser.