[coreboot-gerrit] Change in coreboot[master]: sb/amd/rs780/gfx.c: Add brackets around macro

HAOUAS Elyes (Code Review) gerrit at coreboot.org
Sun Jun 18 16:01:54 CEST 2017


HAOUAS Elyes has uploaded this change for review. ( https://review.coreboot.org/20259


Change subject: sb/amd/rs780/gfx.c: Add brackets around macro
......................................................................

sb/amd/rs780/gfx.c: Add brackets around macro

Change-Id: I5a9596328c028d570303e9390c0133b19b97d683
Signed-off-by: Elyes HAOUAS <ehaouas at noos.fr>
---
M src/southbridge/amd/rs780/gfx.c
1 file changed, 2 insertions(+), 2 deletions(-)



  git pull ssh://review.coreboot.org:29418/coreboot refs/changes/59/20259/1

diff --git a/src/southbridge/amd/rs780/gfx.c b/src/southbridge/amd/rs780/gfx.c
index 52bc071..02be1f3 100644
--- a/src/southbridge/amd/rs780/gfx.c
+++ b/src/southbridge/amd/rs780/gfx.c
@@ -103,8 +103,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)

-- 
To view, visit https://review.coreboot.org/20259
To unsubscribe, visit https://review.coreboot.org/settings

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I5a9596328c028d570303e9390c0133b19b97d683
Gerrit-Change-Number: 20259
Gerrit-PatchSet: 1
Gerrit-Owner: HAOUAS Elyes <ehaouas at noos.fr>



More information about the coreboot-gerrit mailing list