Skip to content

Commit 93e1b95

Browse files
author
Appana Durga Kedareswara rao
committed
arm64: Add new CPU_CORTEX_A78 configuration for Cortex-A78 support
Introduce a new Kconfig option CPU_CORTEX_A78 to enable support for the Arm Cortex-A78 CPU architecture within Zephyr. This configuration can be selected by boards or SoCs that utilize the Cortex-A78 core, enabling architecture-specific features and optimizations as needed. Signed-off-by: Appana Durga Kedareswara rao <appana.durga.kedareswara.rao@amd.com>
1 parent 732a3a5 commit 93e1b95

File tree

3 files changed

+11
-0
lines changed

3 files changed

+11
-0
lines changed

arch/arm64/core/Kconfig

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,13 @@ config CPU_CORTEX_A76_A55
7272
help
7373
This option signifies the use of a Cortex-A76 and A55 big little CPU cluster
7474

75+
config CPU_CORTEX_A78
76+
bool
77+
select CPU_CORTEX_A
78+
select ARMV8_A
79+
help
80+
This option signifies the use of a Cortex-A78 CPU
81+
7582
config CPU_CORTEX_R82
7683
bool
7784
select CPU_AARCH64_CORTEX_R

cmake/gcc-m-cpu.cmake

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,8 @@ elseif("${ARCH}" STREQUAL "arm64")
103103
set(GCC_M_TUNE cortex-a76.cortex-a55)
104104
elseif(CONFIG_CPU_CORTEX_A72)
105105
set(GCC_M_CPU cortex-a72)
106+
elseif(CONFIG_CPU_CORTEX_A78)
107+
set(GCC_M_CPU cortex-a78)
106108
elseif(CONFIG_CPU_CORTEX_R82)
107109
set(GCC_M_CPU cortex-r82)
108110
endif()

subsys/mgmt/mcumgr/grp/os_mgmt/include/os_mgmt_processor.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,8 @@ extern "C" {
121121
#define PROCESSOR_NAME "cortex-a76"
122122
#elif defined(CONFIG_CPU_CORTEX_A76)
123123
#define PROCESSOR_NAME "cortex-a76"
124+
#elif defined(CONFIG_CPU_CORTEX_A78)
125+
#define PROCESSOR_NAME "cortex-a78"
124126
#elif defined(CONFIG_CPU_CORTEX_R82)
125127
#define PROCESSOR_NAME "armv8.4-a+nolse"
126128
#endif

0 commit comments

Comments
 (0)