[coreboot-gerrit] Change in coreboot[master]: mb/google/cyan/spd/spd.c: Remove not necessary braces {}
Elyes HAOUAS (Code Review)
gerrit at coreboot.org
Wed May 16 14:43:42 CEST 2018
Elyes HAOUAS has uploaded this change for review. ( https://review.coreboot.org/26325
Change subject: mb/google/cyan/spd/spd.c: Remove not necessary braces {}
......................................................................
mb/google/cyan/spd/spd.c: Remove not necessary braces {}
Change-Id: I9509cd0ee6cc0a1e5073734fe3ecd79ef62d354e
Signed-off-by: Elyes HAOUAS <ehaouas at noos.fr>
---
M src/mainboard/google/cyan/spd/spd.c
1 file changed, 2 insertions(+), 3 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/25/26325/1
diff --git a/src/mainboard/google/cyan/spd/spd.c b/src/mainboard/google/cyan/spd/spd.c
index 106faf4..cc0ff76 100644
--- a/src/mainboard/google/cyan/spd/spd.c
+++ b/src/mainboard/google/cyan/spd/spd.c
@@ -138,11 +138,10 @@
}
/* Parse the SPD data to determine the DIMM information */
- if (IS_ENABLED(CONFIG_BOARD_GOOGLE_CYAN)) {
+ if (IS_ENABLED(CONFIG_BOARD_GOOGLE_CYAN))
dimm->ddr_type = MEMORY_DEVICE_DDR3;
- } else {
+ else
dimm->ddr_type = MEMORY_DEVICE_LPDDR3;
- }
dimm->dimm_size = capmb / 8 * busw / devw * ranks; /* MiB */
dimm->mod_type = spd[3] & 0xf;
strncpy((char *)&dimm->module_part_number[0], (char *)&spd[0x80],
--
To view, visit https://review.coreboot.org/26325
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I9509cd0ee6cc0a1e5073734fe3ecd79ef62d354e
Gerrit-Change-Number: 26325
Gerrit-PatchSet: 1
Gerrit-Owner: Elyes HAOUAS <ehaouas at noos.fr>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.coreboot.org/pipermail/coreboot-gerrit/attachments/20180516/2b22dcb6/attachment.html>
More information about the coreboot-gerrit
mailing list