nb/intel/gm45/pm.c: Make clang happy

Clang complains that the terniary '?' operator is executed before the
bitwise '|'. This is true and desired in this case. Being explicit
about won't hurt however.

Change-Id: I27d1fc1c19e1dab3d1c82e407151eaa46f8c7b03
Signed-off-by: Arthur Heymans <arthur@aheymans.xyz>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/62172
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Elyes Haouas <ehaouas@noos.fr>
This commit is contained in:
Arthur Heymans 2022-02-16 07:00:29 +01:00 committed by Felix Held
parent 0dd0368740
commit cdad992f0f
1 changed files with 1 additions and 1 deletions

View File

@ -171,7 +171,7 @@ void init_pm(const sysinfo_t *const sysinfo, int do_freq_scaling_cfg)
mchbar_setbits32(0xf80, 1 << 31); mchbar_setbits32(0xf80, 1 << 31);
mchbar_write32(0x40, (mchbar_read32(0x40) & ~(0x3f << 24)) | mchbar_write32(0x40, (mchbar_read32(0x40) & ~(0x3f << 24)) |
(sysinfo->cores == 4) ? (1 << 24) : 0); ((sysinfo->cores == 4) ? (1 << 24) : 0));
mchbar_clrbits32(0x40, 1 << 19); mchbar_clrbits32(0x40, 1 << 19);
mchbar_setbits32(0x40, 1 << 13); mchbar_setbits32(0x40, 1 << 13);