HACK: fix mosys dram from 4G to 2G
BRANCH=spring
BUG=chrome-os-partner:18934
TEST=run hwid test
Change-Id: Ica7b8662eec364032909bbe6bdae22830086a030
Reviewed-on: https://gerrit.chromium.org/gerrit/49160
Reviewed-by: Rong Chang <rongchang@chromium.org>
Tested-by: Rong Chang <rongchang@chromium.org>
Reviewed-on: https://gerrit.chromium.org/gerrit/49203
Commit-Queue: David Hendricks <dhendrix@chromium.org>
Tested-by: David Hendricks <dhendrix@chromium.org>
Reviewed-by: Cheng-Yi Chiang <cychiang@chromium.org>
diff --git a/platform/experimental/spring/memory.c b/platform/experimental/spring/memory.c
index 5b7fc8f..ab62ad5 100644
--- a/platform/experimental/spring/memory.c
+++ b/platform/experimental/spring/memory.c
@@ -100,7 +100,7 @@
[DDR3_SPD_REG_REVISION] = 0x12,
[DDR3_SPD_REG_DEVICE_TYPE] = 0x0b,
[DDR3_SPD_REG_MODULE_TYPE] = 0x03,
- [DDR3_SPD_REG_DENSITY_BANKS] = 0x04, /* 8 banks * 4Gbits= 4GBytes */
+ [DDR3_SPD_REG_DENSITY_BANKS] = 0x03, /* HACK */
[DDR3_SPD_REG_ADDRESSING] = 0x32, /* 15 rows, 10 cols */
[DDR3_SPD_REG_VOLTAGE] = 0x02, /* 1.35V */
[DDR3_SPD_REG_MODULE_ORG] = 0x01, /* 1 rank, x8 */
@@ -155,7 +155,7 @@
[DDR3_SPD_REG_REVISION] = 0x12,
[DDR3_SPD_REG_DEVICE_TYPE] = 0x0b,
[DDR3_SPD_REG_MODULE_TYPE] = 0x03,
- [DDR3_SPD_REG_DENSITY_BANKS] = 0x04, /* 8 banks * 4Gbits= 4GBytes */
+ [DDR3_SPD_REG_DENSITY_BANKS] = 0x03, /* HACK */
[DDR3_SPD_REG_ADDRESSING] = 0x32, /* 15 rows, 10 cols */
[DDR3_SPD_REG_VOLTAGE] = 0x02, /* 1.35V */
[DDR3_SPD_REG_MODULE_ORG] = 0x01, /* 1 rank, x8 */