source: rtems/c/src/lib/libbsp/arm/realview-pbx-a9/configure.ac @ b61d5cac

Last change on this file since b61d5cac was b61d5cac, checked in by Sebastian Huber <sebastian.huber@…>, on Jun 14, 2016 at 8:56:09 AM

bsps: Add CLOCK_DRIVER_USE_ONLY_BOOT_PROCESSOR

Add CLOCK_DRIVER_USE_ONLY_BOOT_PROCESSOR clock driver option. If
defined, then do the clock tick processing on the boot processor on
behalf of all other processors. Currently, this is intended as a
workaround for a Qemu shortcoming on ARM.

Update #2737.

  • Property mode set to 100644
File size: 1.8 KB
Line 
1##
2#
3# @file
4#
5# @brief Configure script of LibBSP for the RealView PBX A9 board.
6#
7
8AC_PREREQ([2.69])
9AC_INIT([rtems-c-src-lib-libbsp-arm-realview-bpx-a9],[_RTEMS_VERSION],[https://devel.rtems.org/newticket])
10AC_CONFIG_SRCDIR([bsp_specs])
11RTEMS_TOP(../../../../../..)
12
13RTEMS_CANONICAL_TARGET_CPU
14AM_INIT_AUTOMAKE([no-define nostdinc foreign 1.12.2])
15RTEMS_BSP_CONFIGURE
16
17RTEMS_PROG_CC_FOR_TARGET
18RTEMS_CANONICALIZE_TOOLS
19RTEMS_PROG_CCAS
20
21RTEMS_CHECK_NETWORKING
22AM_CONDITIONAL(HAS_NETWORKING,test "$HAS_NETWORKING" = "yes")
23
24RTEMS_BSPOPTS_SET([BSP_START_RESET_VECTOR],[*],[])
25RTEMS_BSPOPTS_HELP([BSP_START_RESET_VECTOR],[reset vector address for BSP start])
26
27RTEMS_BSPOPTS_SET([BSP_DATA_CACHE_ENABLED],[*qemu],[])
28RTEMS_BSPOPTS_SET([BSP_DATA_CACHE_ENABLED],[*],[1])
29RTEMS_BSPOPTS_HELP([BSP_DATA_CACHE_ENABLED],[enable data cache])
30
31RTEMS_BSPOPTS_SET([BSP_INSTRUCTION_CACHE_ENABLED],[*qemu],[])
32RTEMS_BSPOPTS_SET([BSP_INSTRUCTION_CACHE_ENABLED],[*],[1])
33RTEMS_BSPOPTS_HELP([BSP_INSTRUCTION_CACHE_ENABLED],[enable instruction cache])
34
35RTEMS_BSPOPTS_SET([BSP_ARM_A9MPCORE_PERIPHCLK],[*],[100000000U])
36RTEMS_BSPOPTS_HELP([BSP_ARM_A9MPCORE_PERIPHCLK],[ARM Cortex-A9 MPCore PERIPHCLK clock frequency in Hz])
37
38RTEMS_BSPOPTS_SET([CLOCK_DRIVER_USE_FAST_IDLE],[*qemu*],[1])
39RTEMS_BSPOPTS_HELP([CLOCK_DRIVER_USE_FAST_IDLE],
40[This sets a mode where the time runs as fast as possible when a clock ISR
41occurs while the IDLE thread is executing.  This can significantly reduce
42simulation times.])
43
44RTEMS_BSPOPTS_SET([CLOCK_DRIVER_USE_ONLY_BOOT_PROCESSOR],[*qemu*],[1])
45RTEMS_BSPOPTS_HELP([CLOCK_DRIVER_USE_ONLY_BOOT_PROCESSOR],
46[If defined, then do the clock tick processing on the boot processor on behalf
47of all other processors.])
48
49RTEMS_CHECK_SMP
50AM_CONDITIONAL(HAS_SMP,[test "$rtems_cv_HAS_SMP" = "yes"])
51
52RTEMS_BSP_CLEANUP_OPTIONS(0, 1)
53RTEMS_BSP_LINKCMDS
54
55AC_CONFIG_FILES([Makefile])
56AC_OUTPUT
Note: See TracBrowser for help on using the repository browser.