blob: 4c0c7a091ed8555898651438b8ad17fc41b426b6 [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
Andrew Walbrande33f082018-12-07 14:10:11 +000024 # The number of pages to allocate for the hypervisor heap.
25 plat_heap_pages = 0
26
Varun Wadekara511edc2022-09-27 17:09:06 +010027 # The level of debug logs to include. This should match one of the levels
28 # defined in dlog.h.
29 plat_log_level = "LOG_LEVEL_INFO"
30
Andrew Scull23e93a82018-10-26 14:56:04 +010031 # The maximum number of CPUs available on the platform.
Andrew Walbran48699362019-05-20 14:38:00 +010032 plat_max_cpus = 1
Andrew Scull114096b2018-07-31 14:42:16 +010033
David Brazdila2f45212020-01-20 13:19:31 +000034 # The maximum allowed size of Hafnium's image in memory. Zero if don't care.
35 plat_max_image_size = 0
36
Andrew Scull23e93a82018-10-26 14:56:04 +010037 # The maximum number of VMs required for the platform.
Andrew Walbran7f904bf2019-07-12 16:38:38 +010038 plat_max_vms = 0
Raghu Krishnamurthy641dcd82022-07-19 23:21:20 -070039
Kathleen Capella422b10b2023-06-30 18:28:27 -040040 # The maximum number of UUIDs allowed per partition, in the partition manifest
41 plat_partition_max_uuids = 4
42
Raghu Krishnamurthy641dcd82022-07-19 23:21:20 -070043 # The maximum number of memory regions allowed per partition, in the partition manifest
44 plat_partition_max_memory_regions = 8
45
46 # The maximum number of device regions allower per partition, in the partition manifest
47 plat_partition_max_device_regions = 8
48
49 # The maximum number of interrupts allowed per device, per partition, in the partition manifest
50 plat_partition_max_intr_per_device = 4
51
52 # the maximum number of streams allowed per device, per partition, in the partition manifest
53 plat_partition_max_streams_per_device = 4
Raghu Krishnamurthy61a025b2022-07-20 08:37:04 -070054
55 # The number of virtual interrupt IDs which are supported
56 plat_num_virtual_interrupts_ids = 64
Andrew Scull114096b2018-07-31 14:42:16 +010057}