aboutsummaryrefslogtreecommitdiff
path: root/src/ethosu_device.c
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 /src/ethosu_device.c
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 'src/ethosu_device.c')
-rw-r--r--src/ethosu_device.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ethosu_device.c b/src/ethosu_device.c
index f8250bc..1667325 100644
--- a/src/ethosu_device.c
+++ b/src/ethosu_device.c
@@ -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
*
@@ -91,6 +91,7 @@ enum ethosu_error_codes ethosu_get_config(struct ethosu_device *dev, struct etho
config->macs_per_cc = cfg.macs_per_cc;
config->cmd_stream_version = cfg.cmd_stream_version;
config->shram_size = cfg.shram_size;
+ config->custom_dma = cfg.custom_dma;
return ETHOSU_SUCCESS;
}