From b8bcf1351d6d1260595f515ead22bc2abe4e08c8 Mon Sep 17 00:00:00 2001 From: Anton Moberg Date: Mon, 29 Mar 2021 10:02:25 +0200 Subject: MLBEDSW-4301 - Verification check custom_dma Added: custom_dma bit to config structs Added: hardware verification check for custom_dma Change-Id: I31dca56063b3ca773d02f0adf30d21facfd0b80d --- include/ethosu_device.h | 3 ++- include/ethosu_driver.h | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'include') diff --git a/include/ethosu_device.h b/include/ethosu_device.h index d9c233d..35f7924 100644 --- a/include/ethosu_device.h +++ b/include/ethosu_device.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2019-2020 Arm Limited. All rights reserved. + * Copyright (c) 2019-2021 Arm Limited. All rights reserved. * * SPDX-License-Identifier: Apache-2.0 * @@ -87,6 +87,7 @@ struct ethosu_config uint32_t macs_per_cc; ///< MACs per clock cycle uint32_t cmd_stream_version; ///< NPU command stream version uint32_t shram_size; ///< SHRAM size + uint32_t custom_dma; ///< Custom DMA enabled }; }; diff --git a/include/ethosu_driver.h b/include/ethosu_driver.h index 4089932..96822e0 100644 --- a/include/ethosu_driver.h +++ b/include/ethosu_driver.h @@ -75,6 +75,7 @@ struct ethosu_version_config uint8_t macs_per_cc; uint8_t cmd_stream_version; uint8_t shram_size; + uint8_t custom_dma; }; struct ethosu_version -- cgit v1.2.1