blob: cfc06a04f1870f850e0ea97126e29b16a1a535ea [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
Andrew Scull23e93a82018-10-26 14:56:04 +010027 # The maximum number of CPUs available on the platform.
Andrew Walbran48699362019-05-20 14:38:00 +010028 plat_max_cpus = 1
Andrew Scull114096b2018-07-31 14:42:16 +010029
David Brazdila2f45212020-01-20 13:19:31 +000030 # The maximum allowed size of Hafnium's image in memory. Zero if don't care.
31 plat_max_image_size = 0
32
Andrew Scull23e93a82018-10-26 14:56:04 +010033 # The maximum number of VMs required for the platform.
Andrew Walbran7f904bf2019-07-12 16:38:38 +010034 plat_max_vms = 0
Raghu Krishnamurthy641dcd82022-07-19 23:21:20 -070035
36 # The maximum number of memory regions allowed per partition, in the partition manifest
37 plat_partition_max_memory_regions = 8
38
39 # The maximum number of device regions allower per partition, in the partition manifest
40 plat_partition_max_device_regions = 8
41
42 # The maximum number of interrupts allowed per device, per partition, in the partition manifest
43 plat_partition_max_intr_per_device = 4
44
45 # the maximum number of streams allowed per device, per partition, in the partition manifest
46 plat_partition_max_streams_per_device = 4
Raghu Krishnamurthy61a025b2022-07-20 08:37:04 -070047
48 # The number of virtual interrupt IDs which are supported
49 plat_num_virtual_interrupts_ids = 64
Andrew Scull114096b2018-07-31 14:42:16 +010050}