[coreboot-gerrit] Change in coreboot[master]: device/dram/ddr3.h: Add brackets around macro

Arthur Heymans (Code Review) gerrit at coreboot.org
Thu Jun 15 19:07:16 CEST 2017


Arthur Heymans has uploaded this change for review. ( https://review.coreboot.org/20229


Change subject: device/dram/ddr3.h: Add brackets around macro
......................................................................

device/dram/ddr3.h: Add brackets around macro

This fixes improper dram frequency being displayed in sandy bridge
native raminit.

Change-Id: I1fe4e4331f45ce1c21113c039b8433252326293d
Signed-off-by: Arthur Heymans <arthur at aheymans.xyz>
---
M src/include/device/dram/ddr3.h
1 file changed, 1 insertion(+), 1 deletion(-)



  git pull ssh://review.coreboot.org:29418/coreboot refs/changes/29/20229/1

diff --git a/src/include/device/dram/ddr3.h b/src/include/device/dram/ddr3.h
index 9597a31..cd4cc67 100644
--- a/src/include/device/dram/ddr3.h
+++ b/src/include/device/dram/ddr3.h
@@ -39,7 +39,7 @@
  * These values are in 1/256 ns units.
  * @{
  */
-#define NS2MHZ_DIV256 1000 << 8
+#define NS2MHZ_DIV256	(1000 << 8)
 
 #define TCK_1333MHZ     192
 #define TCK_1200MHZ     212

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

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I1fe4e4331f45ce1c21113c039b8433252326293d
Gerrit-Change-Number: 20229
Gerrit-PatchSet: 1
Gerrit-Owner: Arthur Heymans <arthur at aheymans.xyz>



More information about the coreboot-gerrit mailing list