diff options
author | Kristofer Jonsson <kristofer.jonsson@arm.com> | 2021-11-26 16:10:43 +0100 |
---|---|---|
committer | Kristofer Jonsson <kristofer.jonsson@arm.com> | 2021-12-02 12:17:25 +0100 |
commit | 29467e04fbc15f53001c0c95227db34160b776e7 (patch) | |
tree | ddf60ed434b7190c750d77fb692472eb89ea7115 /targets/corstone-300/target.cpp | |
parent | 7cec916ffd20a5a7999465d107a116806d6c6e96 (diff) | |
download | ethos-u-core-platform-29467e04fbc15f53001c0c95227db34160b776e7.tar.gz |
Fixing compiler warnings
Adjusting toolchain files which compiler warnings to enable.
Fixing compiler warnings reported by Arm Clang and Arm GCC.
Change-Id: I715e875904ffd7ecfe994d3093cdf066373981b1
Diffstat (limited to 'targets/corstone-300/target.cpp')
-rw-r--r-- | targets/corstone-300/target.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/targets/corstone-300/target.cpp b/targets/corstone-300/target.cpp index f979f85..88f98be 100644 --- a/targets/corstone-300/target.cpp +++ b/targets/corstone-300/target.cpp @@ -185,6 +185,7 @@ struct timing_adapter_settings ethosu_ta_settings[ETHOSU_NPU_TA_COUNT] = {{ETHOS ETHOSU_TA_PERFCTRL_0, ETHOSU_TA_PERFCNT_0, ETHOSU_TA_MODE_0, + 0, // Read only register ETHOSU_TA_HISTBIN_0, ETHOSU_TA_HISTCNT_0}, {ETHOSU_TA_MAXR_1, @@ -198,8 +199,10 @@ struct timing_adapter_settings ethosu_ta_settings[ETHOSU_NPU_TA_COUNT] = {{ETHOS ETHOSU_TA_PERFCTRL_1, ETHOSU_TA_PERFCNT_1, ETHOSU_TA_MODE_1, + 0, // Read only register ETHOSU_TA_HISTBIN_1, ETHOSU_TA_HISTCNT_1}}; + /**************************************************************************** * Cache maintenance ****************************************************************************/ |