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

Last change on this file since f9648ba was f9648ba, checked in by Sebastian Huber <sebastian.huber@…>, on Oct 28, 2019 at 9:15:28 AM

bsps/arm: Add support for small pages MMU

The small page MMU support reduces the granularity for memory settings
through the MMU from 1MiB sections to 4KiB small pages.

Enable it by default on the realview_pbx_a9_qemu BSP.

  • Property mode set to 100644
File size: 1.7 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])
10RTEMS_TOP(../../../../../..)
11RTEMS_SOURCE_TOP
12RTEMS_BUILD_TOP
13RTEMS_BSP_LINKCMDS
14
15RTEMS_CANONICAL_TARGET_CPU
16AM_INIT_AUTOMAKE([no-define nostdinc foreign 1.12.2])
17RTEMS_BSP_CONFIGURE
18
19
20
21RTEMS_BSPOPTS_SET([BSP_START_RESET_VECTOR],[*],[])
22RTEMS_BSPOPTS_HELP([BSP_START_RESET_VECTOR],[reset vector address for BSP start])
23
24RTEMS_BSPOPTS_SET([BSP_DATA_CACHE_ENABLED],[*qemu],[])
25RTEMS_BSPOPTS_SET([BSP_DATA_CACHE_ENABLED],[*],[1])
26RTEMS_BSPOPTS_HELP([BSP_DATA_CACHE_ENABLED],[enable data cache])
27
28RTEMS_BSPOPTS_SET([BSP_INSTRUCTION_CACHE_ENABLED],[*qemu],[])
29RTEMS_BSPOPTS_SET([BSP_INSTRUCTION_CACHE_ENABLED],[*],[1])
30RTEMS_BSPOPTS_HELP([BSP_INSTRUCTION_CACHE_ENABLED],[enable instruction cache])
31
32RTEMS_BSPOPTS_SET([BSP_ARM_A9MPCORE_PERIPHCLK],[*],[100000000U])
33RTEMS_BSPOPTS_HELP([BSP_ARM_A9MPCORE_PERIPHCLK],[ARM Cortex-A9 MPCore PERIPHCLK clock frequency in Hz])
34
35RTEMS_BSPOPTS_SET([CLOCK_DRIVER_USE_FAST_IDLE],[*qemu*],[1])
36RTEMS_BSPOPTS_HELP([CLOCK_DRIVER_USE_FAST_IDLE],
37[This sets a mode where the time runs as fast as possible when a clock ISR
38occurs while the IDLE thread is executing.  This can significantly reduce
39simulation times.])
40
41RTEMS_BSPOPTS_SET([CLOCK_DRIVER_USE_ONLY_BOOT_PROCESSOR],[*qemu*],[1])
42RTEMS_BSPOPTS_HELP([CLOCK_DRIVER_USE_ONLY_BOOT_PROCESSOR],
43[If defined, then do the clock tick processing on the boot processor on behalf
44of all other processors.])
45
46RTEMS_BSPOPTS_SET([ARM_MMU_USE_SMALL_PAGES],[*],[1])
47RTEMS_BSPOPTS_HELP([ARM_MMU_USE_SMALL_PAGES],[use MMU with small pages (4KiB)])
48
49RTEMS_BSP_CLEANUP_OPTIONS
50
51AC_CONFIG_FILES([Makefile])
52AC_OUTPUT
Note: See TracBrowser for help on using the repository browser.