diff options
author | Mikael Olsson <mikael.olsson@arm.com> | 2023-02-10 11:39:40 +0100 |
---|---|---|
committer | Joanna Farley <joanna.farley@arm.com> | 2023-04-04 11:37:37 +0200 |
commit | a19a0241a6f1573e11d4d747dabb756d15ac4801 (patch) | |
tree | 556ad312dbb6fd545297a586b81f77312aada441 /include/plat | |
parent | 7820777fa3c8ca454ab40d5d8a8ba0e311bbb6f9 (diff) | |
download | arm-trusted-firmware-a19a0241a6f1573e11d4d747dabb756d15ac4801.tar.gz |
feat(ethos-n): add reserved memory address support
The FCONF parsing of the HW_CONFIG for the Arm(R) Ethos(TM)-N NPU now
supports reading the address of the reserved memory setup for the NPU so
the address can be used in the SiP service for the NPU.
Change-Id: I0968255a966e84896b00ea935d6aa3d5232c5f7b
Signed-off-by: Mikael Olsson <mikael.olsson@arm.com>
Diffstat (limited to 'include/plat')
-rw-r--r-- | include/plat/arm/common/fconf_ethosn_getter.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/plat/arm/common/fconf_ethosn_getter.h b/include/plat/arm/common/fconf_ethosn_getter.h index 5b9a7ed9d..cafbc3efa 100644 --- a/include/plat/arm/common/fconf_ethosn_getter.h +++ b/include/plat/arm/common/fconf_ethosn_getter.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021-2022, Arm Limited. All rights reserved. + * Copyright (c) 2021-2023, Arm Limited. All rights reserved. * * SPDX-License-Identifier: BSD-3-Clause */ @@ -45,6 +45,7 @@ struct ethosn_core_t { struct ethosn_device_t { bool has_reserved_memory; + uint64_t reserved_memory_addr; uint32_t num_cores; struct ethosn_core_t cores[ETHOSN_DEV_CORE_NUM_MAX]; uint32_t num_allocators; |