common: socinfo: Fix nomenclature on Silicon Revisions
[k3conf/k3conf.git] / common / socinfo.c
index d2b60d8fccb8735bcc14305383424e4eac00eae1..f975bc529d47b21b163eff98c05ab394bce601c3 100644 (file)
@@ -122,7 +122,7 @@ static void j721e_init(void)
        sci_info->num_clocks = J721E_MAX_CLOCKS;
 }
 
-int soc_init(void)
+int soc_init(uint32_t host_id)
 {
        memset(&soc_info, 0, sizeof(soc_info));
 
@@ -143,10 +143,10 @@ int soc_init(void)
 
        strncpy(soc_info.soc_full_name, "", sizeof(soc_info.soc_full_name));
        strcat(soc_info.soc_full_name, soc_name[soc_info.soc]);
-       strcat(soc_info.soc_full_name, " PG");
+       strcat(soc_info.soc_full_name, " SR");
        strcat(soc_info.soc_full_name, soc_revision[soc_info.rev]);
 
-       soc_info.host_id = DEFAULT_HOST_ID;
+       soc_info.host_id = host_id;
 
        if (soc_info.soc == AM654)
                am654_init();