commit | b50ca574efbb1061343eaeab715c2076f62b1a3e | [log] [tgz] |
---|---|---|
author | Angel Pons <th3fanbus@gmail.com> | Wed Nov 11 19:07:20 2020 +0100 |
committer | Patrick Georgi <pgeorgi@google.com> | Mon Nov 16 12:07:03 2020 +0000 |
tree | 591599e996aed5fbcbfa1dca09b88cd4b355aac2 | |
parent | 71902014e33d641ac2481a7e1f7670fee6a78a25 [diff] |
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>
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;