From 106e28582c2e4da73cbcf4b2349480ac87035604 Mon Sep 17 00:00:00 2001 From: Elyes HAOUAS Date: Sat, 17 Jun 2017 12:06:45 +0200 Subject: [PATCH] nb/intel/fsp_rangeley/port_access.c: Add brackets around macro MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Code checked manually Change-Id: Idf86546ddda4fa2b4b96f0b703c03af9931c757d Signed-off-by: Elyes HAOUAS Reviewed-on: https://review.coreboot.org/20251 Tested-by: build bot (Jenkins) Reviewed-by: Philippe Mathieu-Daudé Reviewed-by: Paul Menzel Reviewed-by: Stefan Reinauer --- src/northbridge/intel/fsp_rangeley/port_access.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/northbridge/intel/fsp_rangeley/port_access.c b/src/northbridge/intel/fsp_rangeley/port_access.c index 418cafc281..07ef65c940 100644 --- a/src/northbridge/intel/fsp_rangeley/port_access.c +++ b/src/northbridge/intel/fsp_rangeley/port_access.c @@ -43,8 +43,8 @@ * ---------------------------------------------------------------------------- */ -#define MSG_OPCODE_READ 0x10 << 24 -#define MSG_OPCODE_WRITE 0x11 << 24 +#define MSG_OPCODE_READ (0x10 << 24) +#define MSG_OPCODE_WRITE (0x11 << 24) #define MCR 0xD0 #define MDR 0xD4