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 <biwen.li@nxp.com>
Signed-off-by: Jiafei Pan <Jiafei.Pan@nxp.com>
Change-Id: I2142b4b5162dd3c9ab3afefcdc859063836d8bcc
This commit is contained in:
Jiafei Pan 2021-10-21 17:03:04 +08:00
parent 3d14a30b88
commit 3ccd7e45a2
1 changed files with 3 additions and 1 deletions

View File

@ -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;