blob: 8b02dab3582a3cf9f17b0ee2fdc25e8819cc566e [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
J-Alvesdad60032023-11-08 13:16:41 +000024 # Abstract the calls to platform memory protection functions.
25 # E.g. FVP leverages RME if present to change PAS (S or NS) of given address.
26 plat_memory_protect = ""
27
Andrew Walbrande33f082018-12-07 14:10:11 +000028 # The number of pages to allocate for the hypervisor heap.
29 plat_heap_pages = 0
30
Varun Wadekara511edc2022-09-27 17:09:06 +010031 # The level of debug logs to include. This should match one of the levels
32 # defined in dlog.h.
33 plat_log_level = "LOG_LEVEL_INFO"
34
Andrew Scull23e93a82018-10-26 14:56:04 +010035 # The maximum number of CPUs available on the platform.
Andrew Walbran48699362019-05-20 14:38:00 +010036 plat_max_cpus = 1
Andrew Scull114096b2018-07-31 14:42:16 +010037
David Brazdila2f45212020-01-20 13:19:31 +000038 # The maximum allowed size of Hafnium's image in memory. Zero if don't care.
39 plat_max_image_size = 0
40
Andrew Scull23e93a82018-10-26 14:56:04 +010041 # The maximum number of VMs required for the platform.
Andrew Walbran7f904bf2019-07-12 16:38:38 +010042 plat_max_vms = 0
Raghu Krishnamurthy641dcd82022-07-19 23:21:20 -070043
Kathleen Capella422b10b2023-06-30 18:28:27 -040044 # The maximum number of UUIDs allowed per partition, in the partition manifest
45 plat_partition_max_uuids = 4
46
Raghu Krishnamurthy641dcd82022-07-19 23:21:20 -070047 # The maximum number of memory regions allowed per partition, in the partition manifest
48 plat_partition_max_memory_regions = 8
49
Madhukar Pappireddy8a364472023-10-11 15:34:07 -050050 # The maximum number of device regions allowed per partition, in the partition manifest
Raghu Krishnamurthy641dcd82022-07-19 23:21:20 -070051 plat_partition_max_device_regions = 8
52
Madhukar Pappireddy8a364472023-10-11 15:34:07 -050053 # The maximum number of dma devices allowed per partition, in the partition manifest
54 plat_partition_max_dma_devices = 2
55
Raghu Krishnamurthy641dcd82022-07-19 23:21:20 -070056 # The maximum number of interrupts allowed per device, per partition, in the partition manifest
57 plat_partition_max_intr_per_device = 4
58
59 # the maximum number of streams allowed per device, per partition, in the partition manifest
60 plat_partition_max_streams_per_device = 4
Raghu Krishnamurthy61a025b2022-07-20 08:37:04 -070061
62 # The number of virtual interrupt IDs which are supported
63 plat_num_virtual_interrupts_ids = 64
Andrew Scull114096b2018-07-31 14:42:16 +010064}