summaryrefslogtreecommitdiff
path: root/src/northbridge/intel/sandybridge
diff options
context:
space:
mode:
authorAngel Pons <th3fanbus@gmail.com>2020-11-11 19:07:20 +0100
committerPatrick Georgi <pgeorgi@google.com>2020-11-16 12:07:03 +0000
commitb50ca574efbb1061343eaeab715c2076f62b1a3e (patch)
tree591599e996aed5fbcbfa1dca09b88cd4b355aac2 /src/northbridge/intel/sandybridge
parent71902014e33d641ac2481a7e1f7670fee6a78a25 (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>
Diffstat (limited to 'src/northbridge/intel/sandybridge')
-rw-r--r--src/northbridge/intel/sandybridge/raminit_common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/northbridge/intel/sandybridge/raminit_common.c b/src/northbridge/intel/sandybridge/raminit_common.c
index 3fd8cb0b3d..e23753a0b1 100644
--- a/src/northbridge/intel/sandybridge/raminit_common.c
+++ b/src/northbridge/intel/sandybridge/raminit_common.c
@@ -4433,7 +4433,7 @@ static int encode_wm(int ns)
/* 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;