soc/cdns/sample_controller32: align CONFIG_PRIVILEGED_STACK_SIZE
This commit aligns the value of `CONFIG_PRIVILEGED_STACK_SIZE` to the alignment specified by the value of `XCHAL_MPU_ALIGN`, which for `sample_controller32` is equal to 4096. Signed-off-by: Filip Kokosinski <fkokosinski@antmicro.com>
This commit is contained in:
parent
bc6f7d2c15
commit
4b745fa725
1 changed files with 11 additions and 0 deletions
11
soc/cdns/sample_controller32/Kconfig.defconfig
Normal file
11
soc/cdns/sample_controller32/Kconfig.defconfig
Normal file
|
@ -0,0 +1,11 @@
|
|||
# Copyright (c) 2025 Antmicro <www.antmicro.com>
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
if SOC_XTENSA_SAMPLE_CONTROLLER32
|
||||
|
||||
# CONFIG_PRIVILEGED_STACK_SIZE must be aligned as specified by XCHAL_MPU_ALIGN.
|
||||
# For `sample_controller32`, that value is equal to 4096
|
||||
config PRIVILEGED_STACK_SIZE
|
||||
default 4096 if XTENSA_MPU
|
||||
|
||||
endif # SOC_XTENSA_SAMPLE_CONTROLLER32
|
Loading…
Add table
Add a link
Reference in a new issue