aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAnton Moberg <anton.moberg@arm.com>2021-03-29 10:02:25 +0200
committerAnton Moberg <anton.moberg@arm.com>2021-04-13 09:22:28 +0200
commitb8bcf1351d6d1260595f515ead22bc2abe4e08c8 (patch)
tree8d5d6befa7039c67f4b9d32b041bc9208c4241f6 /include
parent0a6142904a712a1f1c9ce16bb364c3e9d2434dd2 (diff)
downloadethos-u-core-driver-b8bcf1351d6d1260595f515ead22bc2abe4e08c8.tar.gz
MLBEDSW-4301 - Verification check custom_dma
Added: custom_dma bit to config structs Added: hardware verification check for custom_dma Change-Id: I31dca56063b3ca773d02f0adf30d21facfd0b80d
Diffstat (limited to 'include')
-rw-r--r--include/ethosu_device.h3
-rw-r--r--include/ethosu_driver.h1
2 files changed, 3 insertions, 1 deletions
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