diff --git a/src/soc/ibm/power9/pstates.c b/src/soc/ibm/power9/pstates.c index a245baaccad..07b455f6782 100644 --- a/src/soc/ibm/power9/pstates.c +++ b/src/soc/ibm/power9/pstates.c @@ -58,7 +58,7 @@ static ResonantClockingSetup resclk = #define WOF_TABLES_MAGIC_VALUE (uint32_t)0x57465448 // "WFTH" #define WOF_TABLES_VERSION (uint32_t)2 -#define WOF_TABLES_MAX_VERSION WOF_TABLES_VERSION +#define WOF_TABLES_MAX_VERSION WOF_TABLES_VERSION /* * WOF image: @@ -241,7 +241,7 @@ static void check_valid_poundW(PoundW_data_per_quad *poundW_bucket, prev_vid_compare_per_quad[quad]) die("VID compare per quad is decreasing for quad %d\n", quad); - prev_vid_compare_per_quad[quad] = + prev_vid_compare_per_quad[quad] = poundW_bucket->poundw[op].vdm_vid_compare_per_quad[quad]; } @@ -829,7 +829,7 @@ void build_parameter_blocks(struct homer_st *homer, uint64_t functional_cores) memcpy(gppb->operating_points, oppb->operating_points, sizeof(gppb->operating_points)); { - + memcpy(gppb->operating_points_set[VPD_PT_SET_RAW], oppb->operating_points, sizeof(gppb->operating_points)); memcpy(gppb->operating_points_set[VPD_PT_SET_SYSP], oppb->operating_points, diff --git a/src/soc/ibm/power9/pstates_include/p9_pstates_cmeqm.h b/src/soc/ibm/power9/pstates_include/p9_pstates_cmeqm.h index b97a2b79466..3991ffe556f 100644 --- a/src/soc/ibm/power9/pstates_include/p9_pstates_cmeqm.h +++ b/src/soc/ibm/power9/pstates_include/p9_pstates_cmeqm.h @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: Apache-2.0 */ + /* IBM_PROLOG_BEGIN_TAG */ /* This is an automatically generated prolog. */ /* */ diff --git a/src/soc/ibm/power9/pstates_include/p9_pstates_common.h b/src/soc/ibm/power9/pstates_include/p9_pstates_common.h index eec4dbb425d..aeff0fa286c 100644 --- a/src/soc/ibm/power9/pstates_include/p9_pstates_common.h +++ b/src/soc/ibm/power9/pstates_include/p9_pstates_common.h @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: Apache-2.0 */ + /* IBM_PROLOG_BEGIN_TAG */ /* This is an automatically generated prolog. */ /* */ @@ -384,7 +386,7 @@ typedef struct __attribute__((packed, aligned(128))) WofTablesHeader /// Nest Frequency (in MHz) used in building the WOF Tables uint16_t nest_frequency_mhz; - /// Core Sort Power Target Frequency (in MHz) – The #V frequency associated + /// Core Sort Power Target Frequency (in MHz) - The #V frequency associated /// with the sort power target for this table set. This will be either the /// Nominal or Turbo #V frequency uint16_t sort_power_freq_mhz; diff --git a/src/soc/ibm/power9/pstates_include/p9_pstates_occ.h b/src/soc/ibm/power9/pstates_include/p9_pstates_occ.h index a523bf7dc68..32c132c9c44 100644 --- a/src/soc/ibm/power9/pstates_include/p9_pstates_occ.h +++ b/src/soc/ibm/power9/pstates_include/p9_pstates_occ.h @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: Apache-2.0 */ + /* IBM_PROLOG_BEGIN_TAG */ /* This is an automatically generated prolog. */ /* */ diff --git a/src/soc/ibm/power9/pstates_include/p9_pstates_pgpe.h b/src/soc/ibm/power9/pstates_include/p9_pstates_pgpe.h index 1f22bf6b6a8..8472b82cb26 100644 --- a/src/soc/ibm/power9/pstates_include/p9_pstates_pgpe.h +++ b/src/soc/ibm/power9/pstates_include/p9_pstates_pgpe.h @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: Apache-2.0 */ + /* IBM_PROLOG_BEGIN_TAG */ /* This is an automatically generated prolog. */ /* */ diff --git a/src/soc/ibm/power9/pstates_include/readme.txt b/src/soc/ibm/power9/pstates_include/readme.txt index 8e18b87f49e..0df53f1324c 100644 --- a/src/soc/ibm/power9/pstates_include/readme.txt +++ b/src/soc/ibm/power9/pstates_include/readme.txt @@ -1,5 +1,6 @@ Files in this directory come from talos-hostboot repo, commit a2ddbf3 [1]. No -changes were made, other than converting '#include <...>' to '#include "..."'. +changes were made, other than converting '#include <...>' to '#include "..."' +and adding SPDX licence identifiers. In some cases units mentioned in comments in the bigger structure are different than in comments above internal structure definitions and field names. An