Commit 654bd99d authored by Venkatesh Yadav Abbarapu's avatar Venkatesh Yadav Abbarapu Committed by Manish Pandey
Browse files

plat: xilinx: versal: Add the IPI CRC checksum macro support



Add support for CRC checksum for IPI data when the macro
IPI_CRC_CHECK is enabled.
Signed-off-by: default avatarVenkatesh Yadav Abbarapu <venkatesh.abbarapu@xilinx.com>
Change-Id: I3c25c715885759076055c6505471339b5d6edcd5
parent d7758354
...@@ -16,9 +16,6 @@ ...@@ -16,9 +16,6 @@
#include <stdint.h> #include <stdint.h>
#include "pm_defs.h" #include "pm_defs.h"
#define PAYLOAD_ARG_CNT 6U
#define PAYLOAD_ARG_SIZE 4U /* size in bytes */
#define NON_SECURE_FLAG 1U #define NON_SECURE_FLAG 1U
#define SECURE_FLAG 0U #define SECURE_FLAG 0U
......
...@@ -8,6 +8,7 @@ A53_DISABLE_NON_TEMPORAL_HINT := 0 ...@@ -8,6 +8,7 @@ A53_DISABLE_NON_TEMPORAL_HINT := 0
SEPARATE_CODE_AND_RODATA := 1 SEPARATE_CODE_AND_RODATA := 1
override RESET_TO_BL31 := 1 override RESET_TO_BL31 := 1
PL011_GENERIC_UART := 1 PL011_GENERIC_UART := 1
IPI_CRC_CHECK := 0
ifdef VERSAL_ATF_MEM_BASE ifdef VERSAL_ATF_MEM_BASE
$(eval $(call add_define,VERSAL_ATF_MEM_BASE)) $(eval $(call add_define,VERSAL_ATF_MEM_BASE))
...@@ -31,6 +32,10 @@ ifdef VERSAL_BL32_MEM_BASE ...@@ -31,6 +32,10 @@ ifdef VERSAL_BL32_MEM_BASE
$(eval $(call add_define,VERSAL_BL32_MEM_SIZE)) $(eval $(call add_define,VERSAL_BL32_MEM_SIZE))
endif endif
ifdef IPI_CRC_CHECK
$(eval $(call add_define,IPI_CRC_CHECK))
endif
VERSAL_PLATFORM ?= silicon VERSAL_PLATFORM ?= silicon
$(eval $(call add_define_val,VERSAL_PLATFORM,VERSAL_PLATFORM_ID_${VERSAL_PLATFORM})) $(eval $(call add_define_val,VERSAL_PLATFORM,VERSAL_PLATFORM_ID_${VERSAL_PLATFORM}))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment