blob: f11da245ab04dc72b073458b372347093401774c [file] [log] [blame]
Andrew Walbran692b3252019-03-07 15:51:31 +00001# Copyright 2018 The Hafnium Authors.
Andrew Scull18834872018-10-12 11:48:09 +01002#
Andrew Walbrane959ec12020-06-17 15:01:09 +01003# Use of this source code is governed by a BSD-style
4# license that can be found in the LICENSE file or at
5# https://opensource.org/licenses/BSD-3-Clause.
Andrew Scull18834872018-10-12 11:48:09 +01006
Andrew Scull23e93a82018-10-26 14:56:04 +01007# Configuration of the build for the platform.
Andrew Scull114096b2018-07-31 14:42:16 +01008declare_args() {
Andrew Scullb401ba32018-11-09 10:30:54 +00009 # The name of the platform.
10 plat_name = ""
11
12 # The architecture of the platform.
13 plat_arch = ""
David Brazdil0dbb41f2019-09-09 18:03:35 +010014
15 # Boot flow driver to be used by the platform, specified as build target.
16 plat_boot_flow = ""
17
18 # Console driver to be used for the platform, specified as build target.
Andrew Walbran48699362019-05-20 14:38:00 +010019 plat_console = ""
Andrew Scullb401ba32018-11-09 10:30:54 +000020
Andrew Scull3c257452019-11-26 13:32:50 +000021 # IOMMU driver to be used for the platform, specified as build target.
22 plat_iommu = ""
23
Daniel Boulby7a2e9ba2024-09-27 15:24:51 +010024 # Interrupts driver to be used for the platform, specified as build target.
25 plat_interrupts = "//src/arch/aarch64/plat/interrupts:absent"
26
J-Alvesdad60032023-11-08 13:16:41 +000027 # Abstract the calls to platform memory protection functions.
28 # E.g. FVP leverages RME if present to change PAS (S or NS) of given address.
29 plat_memory_protect = ""
30
Andrew Walbrande33f082018-12-07 14:10:11 +000031 # The number of pages to allocate for the hypervisor heap.
32 plat_heap_pages = 0
33
Varun Wadekara511edc2022-09-27 17:09:06 +010034 # The level of debug logs to include. This should match one of the levels
35 # defined in dlog.h.
36 plat_log_level = "LOG_LEVEL_INFO"
37
Andrew Scull23e93a82018-10-26 14:56:04 +010038 # The maximum number of CPUs available on the platform.
Andrew Walbran48699362019-05-20 14:38:00 +010039 plat_max_cpus = 1
Andrew Scull114096b2018-07-31 14:42:16 +010040
David Brazdila2f45212020-01-20 13:19:31 +000041 # The maximum allowed size of Hafnium's image in memory. Zero if don't care.
42 plat_max_image_size = 0
43
Andrew Scull23e93a82018-10-26 14:56:04 +010044 # The maximum number of VMs required for the platform.
Andrew Walbran7f904bf2019-07-12 16:38:38 +010045 plat_max_vms = 0
Raghu Krishnamurthy641dcd82022-07-19 23:21:20 -070046
Kathleen Capella422b10b2023-06-30 18:28:27 -040047 # The maximum number of UUIDs allowed per partition, in the partition manifest
48 plat_partition_max_uuids = 4
49
Raghu Krishnamurthy641dcd82022-07-19 23:21:20 -070050 # The maximum number of memory regions allowed per partition, in the partition manifest
51 plat_partition_max_memory_regions = 8
52
Madhukar Pappireddy8a364472023-10-11 15:34:07 -050053 # The maximum number of device regions allowed per partition, in the partition manifest
Raghu Krishnamurthy641dcd82022-07-19 23:21:20 -070054 plat_partition_max_device_regions = 8
55
Madhukar Pappireddy8a364472023-10-11 15:34:07 -050056 # The maximum number of dma devices allowed per partition, in the partition manifest
57 plat_partition_max_dma_devices = 2
58
Raghu Krishnamurthy641dcd82022-07-19 23:21:20 -070059 # The maximum number of interrupts allowed per device, per partition, in the partition manifest
60 plat_partition_max_intr_per_device = 4
61
62 # the maximum number of streams allowed per device, per partition, in the partition manifest
63 plat_partition_max_streams_per_device = 4
Raghu Krishnamurthy61a025b2022-07-20 08:37:04 -070064
65 # The number of virtual interrupt IDs which are supported
66 plat_num_virtual_interrupts_ids = 64
Karl Meakin59352b32025-02-25 12:19:45 +000067
68 # The version of the FF-A specification to implement. Leave empty to use the latest version.
69 ffa_version = ""
Andrew Scull114096b2018-07-31 14:42:16 +010070}