aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLedion Daja <ledion.daja@arm.com>2023-08-15 13:32:07 +0200
committerLedion Daja <ledion.daja@arm.com>2023-09-25 11:37:14 +0000
commit204210b1074071532627da9dc69950d058a809f4 (patch)
tree9be7873a5e090ee506da867f9b194dfb2d9ea987
parentca4c342dc38385b081c1e4aeee3880ea1aaaf3b5 (diff)
downloadethos-u-core-platform-204210b1074071532627da9dc69950d058a809f4.tar.gz
Fix minor typos and naming in comments
Change-Id: Ie0c57c520d591016855239a502eaf74d23b418fe Signed-off-by: Ledion Daja <ledion.daja@arm.com>
-rw-r--r--targets/corstone-300/CMakeLists.txt2
-rw-r--r--targets/corstone-300/target.cpp2
-rw-r--r--targets/corstone-310/CMakeLists.txt4
-rw-r--r--targets/corstone-310/target.cpp2
4 files changed, 5 insertions, 5 deletions
diff --git a/targets/corstone-300/CMakeLists.txt b/targets/corstone-300/CMakeLists.txt
index dfa2792..62205bb 100644
--- a/targets/corstone-300/CMakeLists.txt
+++ b/targets/corstone-300/CMakeLists.txt
@@ -81,7 +81,7 @@ set(TRUSTZONE_BUILD ON)
add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/../common target)
target_compile_definitions(ethosu_target_common INTERFACE
- # Confiugure NPU architecture and number of timing adapters
+ # Configure NPU architecture and number of timing adapters
ETHOSU_NPU_COUNT=${ETHOSU_TARGET_NPU_COUNT}
ETHOSU_NPU_TA_COUNT=${ETHOSU_TARGET_NPU_TA_COUNT}
diff --git a/targets/corstone-300/target.cpp b/targets/corstone-300/target.cpp
index f186ddf..f52a5db 100644
--- a/targets/corstone-300/target.cpp
+++ b/targets/corstone-300/target.cpp
@@ -252,7 +252,7 @@ void HardFault_Handler() {
struct ExcContext *e;
uint32_t sp;
- asm volatile("mrs %0, ipsr \n" // Read IPSR (Exceptio number)
+ asm volatile("mrs %0, ipsr \n" // Read IPSR (Exception number)
"sub %0, #16 \n" // Get it into IRQn_Type range
"tst lr, #4 \n" // Select the stack which was in use
"ite eq \n"
diff --git a/targets/corstone-310/CMakeLists.txt b/targets/corstone-310/CMakeLists.txt
index 62b06ea..d1c151f 100644
--- a/targets/corstone-310/CMakeLists.txt
+++ b/targets/corstone-310/CMakeLists.txt
@@ -59,7 +59,7 @@ project(ethos-u-corstone-310 VERSION 0.0.1)
include(${CMAKE_CURRENT_SOURCE_DIR}/../../cmake/helpers.cmake)
#############################################################################
-# Corstone-Polaris
+# Corstone-310
#############################################################################
get_filename_component(ETHOSU_TARGET ${CMAKE_CURRENT_SOURCE_DIR} NAME)
@@ -83,7 +83,7 @@ set(TRUSTZONE_BUILD OFF)
add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/../common target)
target_compile_definitions(ethosu_target_common INTERFACE
- # Confiugure NPU architecture and number of timing adapters
+ # Configure NPU architecture and number of timing adapters
ETHOSU_NPU_COUNT=${ETHOSU_TARGET_NPU_COUNT}
ETHOSU_NPU_TA_COUNT=${ETHOSU_TARGET_NPU_TA_COUNT}
diff --git a/targets/corstone-310/target.cpp b/targets/corstone-310/target.cpp
index 915ba0d..ea20077 100644
--- a/targets/corstone-310/target.cpp
+++ b/targets/corstone-310/target.cpp
@@ -254,7 +254,7 @@ void HardFault_Handler() {
struct ExcContext *e;
uint32_t sp;
- asm volatile("mrs %0, ipsr \n" // Read IPSR (Exceptio number)
+ asm volatile("mrs %0, ipsr \n" // Read IPSR (Exception number)
"sub %0, #16 \n" // Get it into IRQn_Type range
"tst lr, #4 \n" // Select the stack which was in use
"ite eq \n"