aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRakesh Gangarajaiah <rakesh.gangarajaiah@arm.com>2020-06-25 15:45:27 +0200
committerBhavik Patel <bhavik.patel@arm.com>2020-07-02 17:29:01 +0200
commita20e5a734a0d211c7e4395b6e5d7519d28a96b3c (patch)
tree39627d34123005c88157713e14ee6a1ff883102d /src
parente645fed716af167ae53e6f842e2baa85bdcb3c24 (diff)
downloadethos-u-core-driver-a20e5a734a0d211c7e4395b6e5d7519d28a96b3c.tar.gz
Update Clock and Power Q channel default values to 1
- TICKET: MLEMBED-1616 Signed-off-by: Rakesh Gangarajaiah <rakesh.gangarajaiah@arm.com> Change-Id: Iea9e6869a1855b42bd8a0fda2986d099d0479a09
Diffstat (limited to 'src')
-rw-r--r--src/ethosu55_interface.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ethosu55_interface.h b/src/ethosu55_interface.h
index 155b69a..f5c5692 100644
--- a/src/ethosu55_interface.h
+++ b/src/ethosu55_interface.h
@@ -1633,7 +1633,7 @@ struct cmd_r
public:
CONSTEXPR cmd_r() :
transition_to_running_state(static_cast<uint32_t>(0x0)), clear_irq(static_cast<uint32_t>(0x0)),
- clock_q_enable(static_cast<uint32_t>(0x0)), power_q_enable(static_cast<uint32_t>(0x0)),
+ clock_q_enable(static_cast<uint32_t>(0x1)), power_q_enable(static_cast<uint32_t>(0x1)),
stop_request(static_cast<uint32_t>(0x0)), reserved0(static_cast<uint32_t>(0)),
clear_irq_history(static_cast<uint32_t>(0x0))
{
@@ -8012,7 +8012,7 @@ struct NPU_REG
{
ID = 268517377;
STATUS = 8;
- CMD = 0;
+ CMD = 12;
RESET = 0;
QBASE0 = 0;
QBASE1 = 0;
@@ -14014,4 +14014,4 @@ struct npu_set_scale1_length_t
#define EXPAND_STRIDE_MODE(FUNC, SEP) \
FUNC(stride_mode, STRIDE_MODE_1D) SEP FUNC(stride_mode, STRIDE_MODE_2D) SEP FUNC(stride_mode, STRIDE_MODE_3D)
-#endif /* ETHOSU55_INTERFACE_H */ \ No newline at end of file
+#endif /* ETHOSU55_INTERFACE_H */