CHERRY-PICK: Peppy: Fix handling of 2GB config

Use the most significant bit of spd index to determine dimm count.

BUG=chrome-os-partner:20663
BRANCH=none
TEST=none: need to wait for the new hardware.

Change-Id: I71bb9fc9bc6d416a58fe6114e1f5f86b5d877d0b
Reviewed-on: https://gerrit.chromium.org/gerrit/60834
Reviewed-by: Shuo-Peng Liao <deanliao@chromium.org>
Commit-Queue: Gediminas Ramanauskas <gedis@chromium.org>
Tested-by: Gediminas Ramanauskas <gedis@chromium.org>
diff --git a/platform/experimental/slippy/memory.c b/platform/experimental/slippy/memory.c
index 12bbe59..ab179a2 100644
--- a/platform/experimental/slippy/memory.c
+++ b/platform/experimental/slippy/memory.c
@@ -94,6 +94,8 @@
 {
 	if (!strncmp(intf->name, "Falco", 5))
 		return slippy_get_spd_index(intf) >= 3 ? 1 : 2;
+	else if (!strncmp(intf->name, "Peppy", 5))
+		return slippy_get_spd_index(intf) >= 4 ? 1 : 2;
 	else
 		return SLIPPY_DIMM_COUNT;
 }