summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Neuschäfer <j.neuschaefer@gmx.net>2018-02-12 12:00:45 +0100
committerMartin Roth <martinroth@google.com>2018-02-14 17:02:56 +0000
commita94b112aec5a8df83313816ca2ca8019cffaba5f (patch)
tree57de1809eda1a5e159ad1c5175459b287b76f521
parent0017004b06fcc41f75a522bec41f319152f9adee (diff)
mb/*/spd: Use normal binary numbers (0b0010) instead of special format (2b0010)
This format (one hex digit, followed by 'b', followed by binary digits) is arguably useful, but also confusing. Use the more common format instead. Change-Id: Ide7b0a999483a2dd863a70f8aa42cd0865e2babf Signed-off-by: Jonathan Neuschäfer <j.neuschaefer@gmx.net> Reviewed-on: https://review.coreboot.org/23715 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Arthur Heymans <arthur@aheymans.xyz> Reviewed-by: Nick Vaccaro <nvaccaro@google.com> Reviewed-by: Martin Roth <martinroth@google.com>
-rw-r--r--src/mainboard/google/kahlee/variants/grunt/spd/Makefile.inc30
-rw-r--r--src/mainboard/google/zoombini/variants/zoombini/spd/Makefile.inc4
-rw-r--r--src/mainboard/intel/cannonlake_rvp/spd/Makefile.inc14
-rw-r--r--src/mainboard/intel/kblrvp/spd/Makefile.inc14
4 files changed, 31 insertions, 31 deletions
diff --git a/src/mainboard/google/kahlee/variants/grunt/spd/Makefile.inc b/src/mainboard/google/kahlee/variants/grunt/spd/Makefile.inc
index 201c6eea95..128edf0b9a 100644
--- a/src/mainboard/google/kahlee/variants/grunt/spd/Makefile.inc
+++ b/src/mainboard/google/kahlee/variants/grunt/spd/Makefile.inc
@@ -17,18 +17,18 @@
LIB_SPD_DEPS = $(foreach f, $(SPD_SOURCES), src/mainboard/$(MAINBOARDDIR)/variants/$(VARIANT_DIR)/spd/$(f).spd.hex)
SPD_SOURCES = hynix-H5AN8G6NAFR-UH # 0b0000
-SPD_SOURCES += hynix-H5ANAG6NAMR-UH # 1b0001
-SPD_SOURCES += micron-MT40A512M16JY-083E:B # 2b0010
-SPD_SOURCES += micron-MT40A1G16KNR-075:E # 3b0011
-SPD_SOURCES += samsung-K4A8G165WB-BCRC # 4b0100
-SPD_SOURCES += samsung-K4AAG165WB-MCRC # 5b0101
-SPD_SOURCES += empty # 6b0110
-SPD_SOURCES += empty # 7b0111
-SPD_SOURCES += empty # 8b1000
-SPD_SOURCES += empty # 9b1001
-SPD_SOURCES += empty # Ab1010
-SPD_SOURCES += empty # Bb1011
-SPD_SOURCES += empty # Cb1100
-SPD_SOURCES += empty # Db1101
-SPD_SOURCES += empty # Eb1110
-SPD_SOURCES += empty # Fb1111
+SPD_SOURCES += hynix-H5ANAG6NAMR-UH # 0b0001
+SPD_SOURCES += micron-MT40A512M16JY-083E:B # 0b0010
+SPD_SOURCES += micron-MT40A1G16KNR-075:E # 0b0011
+SPD_SOURCES += samsung-K4A8G165WB-BCRC # 0b0100
+SPD_SOURCES += samsung-K4AAG165WB-MCRC # 0b0101
+SPD_SOURCES += empty # 0b0110
+SPD_SOURCES += empty # 0b0111
+SPD_SOURCES += empty # 0b1000
+SPD_SOURCES += empty # 0b1001
+SPD_SOURCES += empty # 0b1010
+SPD_SOURCES += empty # 0b1011
+SPD_SOURCES += empty # 0b1100
+SPD_SOURCES += empty # 0b1101
+SPD_SOURCES += empty # 0b1110
+SPD_SOURCES += empty # 0b1111
diff --git a/src/mainboard/google/zoombini/variants/zoombini/spd/Makefile.inc b/src/mainboard/google/zoombini/variants/zoombini/spd/Makefile.inc
index 6942cb85c8..a0bf3e3f01 100644
--- a/src/mainboard/google/zoombini/variants/zoombini/spd/Makefile.inc
+++ b/src/mainboard/google/zoombini/variants/zoombini/spd/Makefile.inc
@@ -16,8 +16,8 @@
SPD_BIN = $(obj)/spd.bin
SPD_SOURCES = Hynix_H9HCNNN8KUMLHR_1GB # 0b000
-SPD_SOURCES += Micron_MT53B512M32D2_2GB # 1b001
-SPD_SOURCES += Micron_MT53B1024M32D4_4GB # 2b010
+SPD_SOURCES += Micron_MT53B512M32D2_2GB # 0b001
+SPD_SOURCES += Micron_MT53B1024M32D4_4GB # 0b010
ifeq ($(SPD_SOURCES),)
SPD_DEPS := $(error SPD_SOURCES is not set. Variant must provide this)
diff --git a/src/mainboard/intel/cannonlake_rvp/spd/Makefile.inc b/src/mainboard/intel/cannonlake_rvp/spd/Makefile.inc
index 052461fc30..026b541dfb 100644
--- a/src/mainboard/intel/cannonlake_rvp/spd/Makefile.inc
+++ b/src/mainboard/intel/cannonlake_rvp/spd/Makefile.inc
@@ -19,10 +19,10 @@ romstage-y += spd_util.c
SPD_BIN = $(obj)/spd.bin
SPD_SOURCES = empty # 0b000
-SPD_SOURCES += samsung_ddr4_4GB # 1b001 Dual Channel 4GB
-SPD_SOURCES += samsung_lpddr4_8GB # 2b001 Dual Channel 8GB
-SPD_SOURCES += empty # 3b011
-SPD_SOURCES += empty # 4b100
-SPD_SOURCES += empty # 5b101
-SPD_SOURCES += empty # 6b110
-SPD_SOURCES += empty # 7b111
+SPD_SOURCES += samsung_ddr4_4GB # 0b001 Dual Channel 4GB
+SPD_SOURCES += samsung_lpddr4_8GB # 0b001 Dual Channel 8GB
+SPD_SOURCES += empty # 0b011
+SPD_SOURCES += empty # 0b100
+SPD_SOURCES += empty # 0b101
+SPD_SOURCES += empty # 0b110
+SPD_SOURCES += empty # 0b111
diff --git a/src/mainboard/intel/kblrvp/spd/Makefile.inc b/src/mainboard/intel/kblrvp/spd/Makefile.inc
index 0c864fe40b..966dec0c29 100644
--- a/src/mainboard/intel/kblrvp/spd/Makefile.inc
+++ b/src/mainboard/intel/kblrvp/spd/Makefile.inc
@@ -19,10 +19,10 @@ romstage-y += spd_util.c
SPD_BIN = $(obj)/spd.bin
SPD_SOURCES = rvp3 # 0b000 Dual Channel 4GB
-SPD_SOURCES += empty # 1b001
-SPD_SOURCES += empty # 2b010
-SPD_SOURCES += empty # 3b011
-SPD_SOURCES += empty # 4b100
-SPD_SOURCES += empty # 5b101
-SPD_SOURCES += hynix_dimm_H9CCNNNBJTMLAR # 6b110 Dual Channel 8GB
-SPD_SOURCES += empty # 7b111
+SPD_SOURCES += empty # 0b001
+SPD_SOURCES += empty # 0b010
+SPD_SOURCES += empty # 0b011
+SPD_SOURCES += empty # 0b100
+SPD_SOURCES += empty # 0b101
+SPD_SOURCES += hynix_dimm_H9CCNNNBJTMLAR # 0b110 Dual Channel 8GB
+SPD_SOURCES += empty # 0b111