soc/intel/*/chip.h: Use `uint32_t` for `tcc_offset`
Newer platforms use an unsigned type instead of an int. Follow suit.
Change-Id: I316864d3aed203c7c2bc962772895774fbc0c8da
Signed-off-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/45694
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Subrata Banik <subrata.banik@intel.com>
diff --git a/src/soc/intel/apollolake/chip.h b/src/soc/intel/apollolake/chip.h
index 521d3ee..6e4c82d 100644
--- a/src/soc/intel/apollolake/chip.h
+++ b/src/soc/intel/apollolake/chip.h
@@ -124,7 +124,7 @@
int dptf_enable;
/* TCC activation offset value in degrees Celsius */
- int tcc_offset;
+ uint32_t tcc_offset;
/* Configure Audio clk gate and power gate
* IOSF-SB port ID 92 offset 0x530 [5] and [3]
diff --git a/src/soc/intel/broadwell/chip.h b/src/soc/intel/broadwell/chip.h
index f559410..ae43353 100644
--- a/src/soc/intel/broadwell/chip.h
+++ b/src/soc/intel/broadwell/chip.h
@@ -138,7 +138,7 @@
int deep_sx_enable_dc;
/* TCC activation offset */
- int tcc_offset;
+ uint32_t tcc_offset;
};
typedef struct soc_intel_broadwell_config config_t;
diff --git a/src/soc/intel/skylake/chip.h b/src/soc/intel/skylake/chip.h
index a623292..fa30c1d 100644
--- a/src/soc/intel/skylake/chip.h
+++ b/src/soc/intel/skylake/chip.h
@@ -85,7 +85,7 @@
uint32_t deep_sx_config;
/* TCC activation offset */
- int tcc_offset;
+ uint32_t tcc_offset;
/* Package PL4 power limit in Watts */
u32 PowerLimit4;