lulu: update RAMID table

Samsung K4B4G1646E-BYK0 is added to the table.

0b100 - 2GiB total - 1 x 2GiB Samsung K4B4G1646E-BYK0 1600MHz
0b101 - 4GiB total - 2 x 2GiB Samsung K4B4G1646E-BYK0 1600MHz

BUG=chrome-os-partner:51075
BRANCH=firmware-auron-6301.B
TEST=Compiled, Boot to OS on old SKU.
Signed-off-by: Ted Kuo <tedkuo@ami.com.tw>

Change-Id: Id6fa5b65e3e7012177611ff3ef1e6ebb3bdc8124
Reviewed-on: https://chromium-review.googlesource.com/332357
Reviewed-by: Shawn N <shawnn@chromium.org>
Commit-Queue: Ted Kuo <tedkuo@ami.com.tw>
Tested-by: Ted Kuo <tedkuo@ami.com.tw>
diff --git a/src/mainboard/google/lulu/spd/Makefile.inc b/src/mainboard/google/lulu/spd/Makefile.inc
index 8440b41..a1fe973 100644
--- a/src/mainboard/google/lulu/spd/Makefile.inc
+++ b/src/mainboard/google/lulu/spd/Makefile.inc
@@ -27,8 +27,8 @@
 SPD_SOURCES += empty                                # 0b0001
 SPD_SOURCES += empty                                # 0b0010
 SPD_SOURCES += samsung_2GiB_dimm_K4B4G1646Q-HYK0    # 0b0011 2GB
-SPD_SOURCES += empty                                # 0b0100
-SPD_SOURCES += empty                                # 0b0101
+SPD_SOURCES += samsung_2GiB_dimm_K4B4G1646E-BYK0    # 0b0100 2GB
+SPD_SOURCES += samsung_2GiB_dimm_K4B4G1646E-BYK0    # 0b0101 4GB
 SPD_SOURCES += empty                                # 0b0110
 SPD_SOURCES += empty                                # 0b0111
 SPD_SOURCES += micron_2GiB_dimm_MT41K256M16HA-125   # 0b1000 4GB
diff --git a/src/mainboard/google/lulu/spd/samsung_2GiB_dimm_K4B4G1646E-BYK0.spd.hex b/src/mainboard/google/lulu/spd/samsung_2GiB_dimm_K4B4G1646E-BYK0.spd.hex
new file mode 100644
index 0000000..841291b
--- /dev/null
+++ b/src/mainboard/google/lulu/spd/samsung_2GiB_dimm_K4B4G1646E-BYK0.spd.hex
@@ -0,0 +1,17 @@
+# Samsung K4B4G1646E-BYK0
+92 13 0B 03 04 19 02 02 03 11 01 08 0A 00 FE 00
+69 78 69 3C 69 11 18 81 20 08 3C 3C 01 40 83 01
+00 00 00 00 00 00 00 00 00 88 00 00 00 00 00 00
+00 00 00 00 00 00 00 00 00 00 00 00 0F 01 62 00
+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
+00 00 00 00 00 80 CE 01 00 00 00 00 00 00 CA 0F
+4D 34 37 31 42 35 36 37 34 45 42 30 2D 59 4B 30
+20 20 00 00 80 CE 00 00 00 00 00 00 00 00 00 00
+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
diff --git a/src/mainboard/google/lulu/spd/spd.c b/src/mainboard/google/lulu/spd/spd.c
index a249adc..8f1f8fb 100644
--- a/src/mainboard/google/lulu/spd/spd.c
+++ b/src/mainboard/google/lulu/spd/spd.c
@@ -132,7 +132,7 @@
 
 	/* CH1 not used in 2GB configurations */
 	if (!((spd_index == 0b0000) || (spd_index == 0b0011) ||
-	      (spd_index == 0b1010))) {
+	      (spd_index == 0b0100) || (spd_index == 0b1010))) {
 		memcpy(pei_data->spd_data[1][0],
 			((char *)CBFS_SUBHEADER(spd_file)) +
 			(spd_index * SPD_LEN), SPD_LEN);