Skip to content

Commit ee60977

Browse files
gmarullcarlescufi
authored andcommitted
arch: riscv: remove SOC from RISCV_SOC_MCAUSE_EXCEPTION_MASK
Just to stay consistent with other RISC-V related settings. Signed-off-by: Gerard Marull-Paretas <[email protected]>
1 parent 6edb062 commit ee60977

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

arch/riscv/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ config RISCV_SOC_INTERRUPT_INIT
159159
Enable SOC-based interrupt initialization
160160
(call soc_interrupt_init, within _IntLibInit when enabled)
161161

162-
config RISCV_SOC_MCAUSE_EXCEPTION_MASK
162+
config RISCV_MCAUSE_EXCEPTION_MASK
163163
hex
164164
default 0x7FFFFFFFFFFFFFFF if 64BIT
165165
default 0x7FFFFFFF

soc/riscv/common/riscv-privileged/soc_common.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
#define RISCV_MACHINE_EXT_IRQ 11 /* Machine External Interrupt */
1818

1919
/* Exception code Mask */
20-
#define SOC_MCAUSE_EXP_MASK CONFIG_RISCV_SOC_MCAUSE_EXCEPTION_MASK
20+
#define SOC_MCAUSE_EXP_MASK CONFIG_RISCV_MCAUSE_EXCEPTION_MASK
2121

2222
#ifndef _ASMLANGUAGE
2323

soc/riscv/gd_gd32/gd32vf103/Kconfig.defconfig.gd32vf103

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ config SYS_CLOCK_HW_CYCLES_PER_SEC
1414
# The CPU frequency is set to the maximum value of 108MHz by default.
1515
default 27000000
1616

17-
config RISCV_SOC_MCAUSE_EXCEPTION_MASK
17+
config RISCV_MCAUSE_EXCEPTION_MASK
1818
default 0xFFF
1919

2020
config RISCV_SOC_INTERRUPT_INIT

0 commit comments

Comments
 (0)