From 2721e1fab72111c28267d8b74a71c66abd887a2f Mon Sep 17 00:00:00 2001 From: Arthur Heymans Date: Thu, 15 Jun 2017 19:07:12 +0200 Subject: device/dram/ddr3.h: Add brackets around macro MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This fixes improper dram frequency being displayed in sandy bridge native raminit. Change-Id: I1fe4e4331f45ce1c21113c039b8433252326293d Signed-off-by: Arthur Heymans Reviewed-on: https://review.coreboot.org/20229 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Rudolph Reviewed-by: Philippe Mathieu-Daudé Reviewed-by: Sumeet R Pawnikar --- src/include/device/dram/ddr3.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/include/device/dram/ddr3.h b/src/include/device/dram/ddr3.h index 5961f4106b..2cfd6acbff 100644 --- a/src/include/device/dram/ddr3.h +++ b/src/include/device/dram/ddr3.h @@ -52,7 +52,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 -- cgit v1.2.3