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:
Angel Pons 2021-05-26 14:24:06 +02:00 committed by Werner Zeh
parent f696d797dc
commit d059112eec
1 changed files with 1 additions and 1 deletions

View File

@ -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;