summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2017-06-18 15:59:06 +0200
committerMartin Roth <martinroth@google.com>2017-06-22 16:02:08 +0000
commit9c0772255527d163b8ab3299fcad96473f59b7d9 (patch)
treec63e81a5fb272a9709a64de29ada1769b718a01f
parent6bb8ff46379844e92ba777fdf4db8ba5ac111482 (diff)
downloadcoreboot-9c0772255527d163b8ab3299fcad96473f59b7d9.tar.xz
sb/amd/rs780/gfx.c: Add brackets around macro
Code checked manually Change-Id: I5a9596328c028d570303e9390c0133b19b97d683 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/20259 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Arthur Heymans <arthur@aheymans.xyz> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
-rw-r--r--src/southbridge/amd/rs780/gfx.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/southbridge/amd/rs780/gfx.c b/src/southbridge/amd/rs780/gfx.c
index 52bc071d4c..02be1f327e 100644
--- a/src/southbridge/amd/rs780/gfx.c
+++ b/src/southbridge/amd/rs780/gfx.c
@@ -103,8 +103,8 @@ MMIORANGE MMIO[8], CreativeMMIO[8];
#define CIM_DISABLEPORT 0x80000002
#define MMIO_ATTRIB_NP_ONLY 1
-#define MMIO_ATTRIB_BOTTOM_TO_TOP 1<<1
-#define MMIO_ATTRIB_SKIP_ZERO 1<<2
+#define MMIO_ATTRIB_BOTTOM_TO_TOP (1 << 1)
+#define MMIO_ATTRIB_SKIP_ZERO (1 << 2)
#ifdef DONT_TRUST_RESOURCE_ALLOCATION
static MMIORANGE* AllocMMIO(MMIORANGE* pMMIO)