summaryrefslogtreecommitdiff
path: root/src/mainboard/purism/librem13v2
diff options
context:
space:
mode:
authorNico Huber <nico.huber@secunet.com>2017-06-28 16:42:51 +0200
committerNico Huber <nico.h@gmx.de>2017-06-29 15:41:02 +0000
commit5f9c6734fc9bbe69c007c46c8ec6f314bd5522a8 (patch)
tree8f8ae84291f503c88a92103e5c528b7b0d284b46 /src/mainboard/purism/librem13v2
parent956cfa307b59ff035f47a6bf4b21456963991839 (diff)
lib/spd_bin: Use proper I2C addresses
Use the plain address instead of the weird shifted encoding (e.g. if we'd use `0xa0` as address, it's actually `0x50` encoded into a write command). Change-Id: I6febb2e04e1c6de4294dfa37bde16b147a80b7a8 Signed-off-by: Nico Huber <nico.huber@secunet.com> Reviewed-on: https://review.coreboot.org/20405 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Aaron Durbin <adurbin@chromium.org> Reviewed-by: Furquan Shaikh <furquan@google.com>
Diffstat (limited to 'src/mainboard/purism/librem13v2')
-rw-r--r--src/mainboard/purism/librem13v2/romstage.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mainboard/purism/librem13v2/romstage.c b/src/mainboard/purism/librem13v2/romstage.c
index bd5520a7c4..c8c3cd9510 100644
--- a/src/mainboard/purism/librem13v2/romstage.c
+++ b/src/mainboard/purism/librem13v2/romstage.c
@@ -35,7 +35,7 @@ void mainboard_memory_init_params(struct romstage_params *params,
MEMORY_INIT_UPD *memory_params)
{
struct spd_block blk = {
- .addr_map = { 0xa0 },
+ .addr_map = { 0x50 },
};
memory_params->DqPinsInterleaved = 1;