[coreboot-gerrit] Change in coreboot[master]: purism/librem13v2: Provide memory address for SPD data

Youness Alaoui (Code Review) gerrit at coreboot.org
Tue Jun 6 19:07:52 CEST 2017


Youness Alaoui has uploaded this change for review. ( https://review.coreboot.org/20052


Change subject: purism/librem13v2: Provide memory address for SPD data
......................................................................

purism/librem13v2: Provide memory address for SPD data

The spd_block needs to provide the address map for the SMBus
following commit dd82edc3 (lib/spd_bin: make SMBus SPD addresses an input)

Change-Id: Ibd51326207b0fb85ea43c12e5558a4d477ebbe23
Signed-off-by: Youness Alaoui <youness.alaoui at puri.sm>
---
M src/mainboard/purism/librem13v2/romstage.c
1 file changed, 3 insertions(+), 1 deletion(-)



  git pull ssh://review.coreboot.org:29418/coreboot refs/changes/52/20052/1

diff --git a/src/mainboard/purism/librem13v2/romstage.c b/src/mainboard/purism/librem13v2/romstage.c
index f713dec..d61a4d4 100644
--- a/src/mainboard/purism/librem13v2/romstage.c
+++ b/src/mainboard/purism/librem13v2/romstage.c
@@ -33,7 +33,9 @@
 void mainboard_memory_init_params(struct romstage_params *params,
 	MEMORY_INIT_UPD *memory_params)
 {
-	struct spd_block blk;
+	struct spd_block blk = {
+		.addr_map = { 0xa0 },
+	};
 
 	memory_params->DqPinsInterleaved = 1;
 	get_spd_smbus(&blk);

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

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ibd51326207b0fb85ea43c12e5558a4d477ebbe23
Gerrit-Change-Number: 20052
Gerrit-PatchSet: 1
Gerrit-Owner: Youness Alaoui <snifikino at gmail.com>



More information about the coreboot-gerrit mailing list