aboutsummaryrefslogtreecommitdiff
path: root/src/ethosu_device.c
diff options
context:
space:
mode:
authorDouglas Troha <douglas.troha@arm.com>2020-05-11 11:45:28 +0200
committerDouglas Troha <douglas.troha@arm.com>2020-05-13 13:04:24 +0200
commitf6a85da549e9ba903acf3f0182f5c03226d2d59a (patch)
treeda8b2ea4899f98f8768d947262cdbc0ac0ded4eb /src/ethosu_device.c
parentbcb5aaa99756f1b5c1295b079ebdd60996bc75a5 (diff)
downloadethos-u-core-driver-f6a85da549e9ba903acf3f0182f5c03226d2d59a.tar.gz
Update to HI 1.0
* Includes updates for 0.179 Change-Id: I8ab8e9d67ed5dabf9684ed7576d302a0831c1647 Signed-off-by: Douglas Troha <douglas.troha@arm.com>
Diffstat (limited to 'src/ethosu_device.c')
-rw-r--r--src/ethosu_device.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ethosu_device.c b/src/ethosu_device.c
index 935ec9e..273496d 100644
--- a/src/ethosu_device.c
+++ b/src/ethosu_device.c
@@ -422,7 +422,7 @@ enum ethosu_error_codes ethosu_get_shram_data(int section, uint32_t *shram_p)
#if !defined(ARM_NPU_STUB)
int i = 0;
uint32_t address = NPU_REG_SHARED_BUFFER0;
- write_reg(NPU_REG_DEBUG, section * BYTES_1KB);
+ write_reg(NPU_REG_DEBUG_ADDR, section * BYTES_1KB);
while (address <= NPU_REG_SHARED_BUFFER255)
{