summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2017-06-17 12:06:45 +0200
committerStefan Reinauer <stefan.reinauer@coreboot.org>2017-06-27 19:44:04 +0000
commit106e28582c2e4da73cbcf4b2349480ac87035604 (patch)
treef0c37be5830e0444b34c1cbee21c9721ed644227
parent7c4a8e57dc4f85a56301662af849af29203c4c6e (diff)
nb/intel/fsp_rangeley/port_access.c: Add brackets around macro
Code checked manually Change-Id: Idf86546ddda4fa2b4b96f0b703c03af9931c757d Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/20251 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
-rw-r--r--src/northbridge/intel/fsp_rangeley/port_access.c4
1 files 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