samples: subsys: shell_module: Add support for intel_socfpga_agilex series

Add sip_svc shell support to intel_socfpga_agilex_socdk
and intel_socfpga_agilex5_socdk boards.

Signed-off-by: Mahesh Rao <mahesh.rao@intel.com>
This commit is contained in:
Mahesh Rao 2023-09-13 11:13:19 +00:00 committed by Carles Cufí
commit dec80da4c0
4 changed files with 51 additions and 0 deletions

View file

@ -19,3 +19,11 @@ CONFIG_COUNTER=y
# Enable Timer shell commands
CONFIG_COUNTER_SHELL=y
#SiP SVC Service
CONFIG_ARM_SIP_SVC_DRIVER=y
CONFIG_ARM_SIP_SVC_SUBSYS=y
CONFIG_ARM_SIP_SVC_SUBSYS_SINGLY_OPEN=y
#SiP SVC Service Shell
CONFIG_ARM_SIP_SVC_SUBSYS_SHELL=y

View file

@ -26,3 +26,8 @@
&timer3 {
status = "okay";
};
&sip_smc {
status = "okay";
zephyr,num-clients = <2>;
};

View file

@ -0,0 +1,23 @@
# Copyright (c) 2023, Intel Corporation.
# SPDX-License-Identifier: Apache-2.0
# Misc
CONFIG_HEAP_MEM_POOL_SIZE=16384
CONFIG_SHELL_STACK_SIZE=8192
# Setting the Shell prompt
CONFIG_SHELL_PROMPT_UART="agilex$ "
# Setting the max argc
CONFIG_SHELL_ARGC_MAX=12
# Enable the Zephyr boot banner
CONFIG_BOOT_BANNER=y
#SiP SVC Service
CONFIG_ARM_SIP_SVC_DRIVER=y
CONFIG_ARM_SIP_SVC_SUBSYS=y
CONFIG_ARM_SIP_SVC_SUBSYS_SINGLY_OPEN=y
#SiP SVC Service Shell
CONFIG_ARM_SIP_SVC_SUBSYS_SHELL=y

View file

@ -0,0 +1,15 @@
/*
* Copyright (C) 2023 Intel Corporation
* SPDX-License-Identifier: Apache-2.0
*/
/*
* The overlay file should be used to enable any
* dts nodes required by this shell application for this
* board.
*/
&sip_smc {
status = "okay";
zephyr,num-clients = <2>;
};