nb/intel/x4x/rcven.c: Guard macro parameters
Add parentheses around macro parameters to avoid operation order issues. Change-Id: I9528f3d6b221854fddd2db6d2b45c63bfdda0092 Signed-off-by: Angel Pons <th3fanbus@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/54953 Reviewed-by: Arthur Heymans <arthur@aheymans.xyz> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
parent
f696d797dc
commit
d059112eec
|
@ -10,7 +10,7 @@
|
|||
#define DQS_HIGH 1
|
||||
#define DQS_LOW 0
|
||||
|
||||
#define RESET_CNTL(channel) (0x5d8 + channel * 0x400)
|
||||
#define RESET_CNTL(channel) (0x5d8 + (channel) * 0x400)
|
||||
|
||||
struct rec_timing {
|
||||
u8 medium;
|
||||
|
|
Loading…
Reference in New Issue