summaryrefslogtreecommitdiffstats
path: root/spec/build/bsps/arm/optmmusmallpages.yml
blob: 55f2fce769412c4c62e6edfbc808c3f23d4bd019 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
actions:
- get-boolean: null
- define-condition: null
- script: |
    if conf.is_defined("ARM_MMU_TRANSLATION_TABLE_SIZE"):
        conf.fatal("ARM_MMU_TRANSLATION_TABLE_SIZE already defined by conflicting option.")

    tbl_sz = 16 * 1024
    if value:
        tbl_sz += 4 * 1024 * 1024

    conf.env["ARM_MMU_TRANSLATION_TABLE_SIZE"] = tbl_sz
build-type: option
copyrights:
- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
default: false
default-by-family: []
default-by-variant:
- value: true
  variants:
  - arm/realview_pbx_a9_qemu
description: |
  If set to true, then the MMU is configured to use small pages (4KiB),
  otherwise it uses sections (1MiB).
enabled-by: true
links: []
name: ARM_MMU_USE_SMALL_PAGES
type: build