aboutsummaryrefslogtreecommitdiff
path: root/src/ethosu_device.c
diff options
context:
space:
mode:
authorDouglas Troha <douglas.troha@arm.com>2020-05-14 20:28:31 +0200
committerDouglas Troha <douglas.troha@arm.com>2020-05-18 09:13:13 +0100
commit2e7e3b70bf7d0c783b692b9062abca509f0a43b8 (patch)
tree21b18b87087990c60432248a7cbf7c60ee2aca4b /src/ethosu_device.c
parentdaa0d20f69a7aa382eef78ca2e8110c11ee11893 (diff)
downloadethos-u-core-driver-2e7e3b70bf7d0c783b692b9062abca509f0a43b8.tar.gz
Include 0.180 in HI 1.0
* Rename debug_addr to debug_address and update page names Signed-off-by: Douglas Troha <douglas.troha@arm.com> Change-Id: I1e4a820769dd00ec04e65e8027ae0d4b872c2d52
Diffstat (limited to 'src/ethosu_device.c')
-rw-r--r--src/ethosu_device.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ethosu_device.c b/src/ethosu_device.c
index 273496d..7ce8fad 100644
--- a/src/ethosu_device.c
+++ b/src/ethosu_device.c
@@ -204,7 +204,7 @@ enum ethosu_error_codes ethosu_read_apb_reg(uint32_t start_address, uint16_t num
#if !defined(ARM_NPU_STUB)
uint32_t address = start_address;
- ASSERT((start_address + num_reg) < NPU_IDS_REGISTERS_SIZE);
+ ASSERT((start_address + num_reg) < ID_REGISTERS_SIZE);
for (int i = 0; i < num_reg; i++)
{
@@ -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_ADDR, section * BYTES_1KB);
+ write_reg(NPU_REG_DEBUG_ADDRESS, section * BYTES_1KB);
while (address <= NPU_REG_SHARED_BUFFER255)
{