From 3ccd7e45a2c3ff9fa7794f0284c9d0298e7cb982 Mon Sep 17 00:00:00 2001 From: Jiafei Pan Date: Thu, 21 Oct 2021 17:03:04 +0800 Subject: [PATCH] fix(nxp/common/setup): increase soc name maximum length Increate SoC name length as it is not enough for some SoC personalities. Signed-off-by: Biwen Li Signed-off-by: Jiafei Pan Change-Id: I2142b4b5162dd3c9ab3afefcdc859063836d8bcc --- plat/nxp/common/setup/include/plat_common.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/plat/nxp/common/setup/include/plat_common.h b/plat/nxp/common/setup/include/plat_common.h index 484ddcfac..e13f45cdc 100644 --- a/plat/nxp/common/setup/include/plat_common.h +++ b/plat/nxp/common/setup/include/plat_common.h @@ -131,9 +131,11 @@ void ls_setup_page_tables(uintptr_t total_base, #endif ); +#define SOC_NAME_MAX_LEN (20) + /* Structure to define SoC personality */ struct soc_type { - char name[10]; + char name[SOC_NAME_MAX_LEN]; uint32_t version; uint8_t num_clusters; uint8_t cores_per_cluster; -- 2.39.5