nb/intel/sandybridge: Retype constant
There's no need to use size_t to store a boolean. Change-Id: I0069fa8d75583dc34b402004d753220943406a04 Signed-off-by: Angel Pons <th3fanbus@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/47487 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Patrick Rudolph <siro@das-labor.org>
This commit is contained in:
parent
71902014e3
commit
b50ca574ef
@ -4433,7 +4433,7 @@ static int encode_wm(int ns)
|
|||||||
/* FIXME: values in this function should be hardware revision-dependent */
|
/* FIXME: values in this function should be hardware revision-dependent */
|
||||||
void final_registers(ramctr_timing *ctrl)
|
void final_registers(ramctr_timing *ctrl)
|
||||||
{
|
{
|
||||||
const size_t is_mobile = get_platform_type() == PLATFORM_MOBILE;
|
const bool is_mobile = get_platform_type() == PLATFORM_MOBILE;
|
||||||
|
|
||||||
int channel;
|
int channel;
|
||||||
int t1_cycles = 0, t1_ns = 0, t2_ns;
|
int t1_cycles = 0, t1_ns = 0, t2_ns;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user