Patrick Georgi has submitted this change. ( https://review.coreboot.org/c/coreboot/+/47487 )
Change subject: nb/intel/sandybridge: Retype constant ......................................................................
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 --- M src/northbridge/intel/sandybridge/raminit_common.c 1 file changed, 1 insertion(+), 1 deletion(-)
Approvals: build bot (Jenkins): Verified Patrick Rudolph: Looks good to me, approved
diff --git a/src/northbridge/intel/sandybridge/raminit_common.c b/src/northbridge/intel/sandybridge/raminit_common.c index 3fd8cb0..e23753a 100644 --- a/src/northbridge/intel/sandybridge/raminit_common.c +++ b/src/northbridge/intel/sandybridge/raminit_common.c @@ -4433,7 +4433,7 @@ /* FIXME: values in this function should be hardware revision-dependent */ 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 t1_cycles = 0, t1_ns = 0, t2_ns;