aboutsummaryrefslogtreecommitdiff
path: root/include
AgeCommit message (Collapse)Author
2020-11-24Update handling of soft reset20.11Kristofer Jonsson
Change-Id: Ia22b2934b4c85e3c480931c8b92608365351a877
2020-11-24Restore default init values as init_v2Per Åstrand
The addition of init_v3 accidentely changed default values for soft resetting Ethos-U. Restore the default parameters to non-secure, user mode for init_v1 and init_v2 and also make sure to check return value from ethosu_soft_reset. Change-Id: If7377f11ad1db7ff988fdcba03320a54e6e0c0c1
2020-11-20Add API to set secure and privilege level of NPU20.11-rc2Per Åstrand
Change-Id: I8ca309ea4e5885865d5c9cf848500f45f83e08a2
2020-10-20PMU counter shadowKristofer Jonsson
Storing PMU counters in shadow variables, in case the PMU was powered off or soft reset. Change-Id: I64ccf3fb6195f9be2d8315891ec612bb75404885
2020-10-16MLBEDSW-3094 Improve soft reset of ETHOSU when running jobsBhavik Patel
The ETHOSU is soft-reset only if the previous job failed or if the current privilege level is not user or if the current security level is not secure. Change-Id: Id10b96058d67805d179ac693537606d55e10379b
2020-09-04Move fast memory area to core driverKristofer Jonsson
Change-Id: Ie4186f5ab881d5c13021299404322ff582180d26
2020-08-26Save and restore PMU settings and counters20.08-rc220.08Kristofer Jonsson
Change-Id: I54a1927fef998bc97f5507f2de9faf7d4a7960f5
2020-08-19Update to HI 1.0.620.08-rc1Stefan Nannesson
Change-Id: I0f127f7460be2a5d2eda5be2868c91f58cac03c0
2020-08-05Header cleanupKristofer Jonsson
Change-Id: I84754f316ce940917516cb7f5c59189f523d4095
2020-07-22MLBEDSW-2594 Initialize the Ethos-U before every jobBhavik Patel
This includes resetting the Ethos-U and restoring the previosuly saved PMU configuration (if any). Change-Id: Id952fb6fef513468952b6a469e857510f8c0214c
2020-07-03MLBEDSW-2378 Set NPU base address in ethosu_initBhavik Patel
Change-Id: I1145834000ff81d6e497a8fa77bf997478a80372
2020-07-02Move PMU functions from pmu_ethosu.h to ethosu_pmu.cBhavik Patel
This change is done as a prerequisite to be able to set base address for NPU through ethosu_init(). So instead of using a mamory mapped struct we use the same functions to read/write PMU registers as the rest of the ethos-u driver. Change-Id: Ie1f6e6af4627cbe9375e2b2d079ba8017b6294d3
2020-06-22Update arch to 1.0.120.07-rc120.07Douglas Troha
* Includes npu_active event Signed-off-by: Douglas Troha <douglas.troha@arm.com> Change-Id: I2346707c26b7c3709bb844c7b21365d714e9a089
2020-06-17MLBEDSW-2373 Add APIs to configure PMCCNTR_CFG registerBhavik Patel
Change-Id: I73c612746ca678d32d3dec3e1c5619ee1077c012
2020-05-13Update to HI 1.0Douglas Troha
* Includes updates for 0.179 Change-Id: I8ab8e9d67ed5dabf9684ed7576d302a0831c1647 Signed-off-by: Douglas Troha <douglas.troha@arm.com>
2020-05-11MLBEDSW-1796 Refactor IRQ initializationPer Åstrand
Turn the IRQ initialization around, to have the application define the interrupt handler and expose the driver routine that is to be called when that happens. Change-Id: Idbfba1b1d1a1eaf6678ee16e9583c496eb2287ed
2020-05-08MLBEDSW-2194 Updating PMU filesKristofer Jonsson
Moving PMU files from ethosu_pmu to include and src. Adding extern "C" to PMU header. Removing CMake generated file. Updating default path to CMSIS. Removing timing adapter. Change-Id: I4834c5361c14efe629c5cb36a17013d02cc765c8
2020-04-27Update to HI 0.1690.1.0Diqing Zhong
Change-Id: If2e6ff0b6876380c597cdbc12a666a9cf1bf9dc4
2020-04-27Update to HI 0.162Diqing Zhong
Change-Id: Ieff4a4b66dcc8da09a2f959dfa6bc717cc816f5a
2020-04-16Add Ethos-u core driverKristofer Jonsson
Change-Id: I541862775031c21e6483f26446a29dfe452382ab