summaryrefslogtreecommitdiff
path: root/src/mainboard/google/hatch/variants/baseboard/Makefile.inc
diff options
context:
space:
mode:
authorAamir Bohra <aamir.bohra@intel.com>2018-12-16 13:10:58 +0530
committerSubrata Banik <subrata.banik@intel.com>2018-12-23 05:12:14 +0000
commit4b85d46170ef44ab88b9cf844e3d3feaf9e7e89e (patch)
tree23405bc1cbb8224ed4043e5a90a837b4966ea633 /src/mainboard/google/hatch/variants/baseboard/Makefile.inc
parent09e7b998379225fb0b79e5fd2fb5ba9b95bd6961 (diff)
downloadcoreboot-4b85d46170ef44ab88b9cf844e3d3feaf9e7e89e.tar.xz
mb/google/hatch: Add memory init setup for hatch
This implementation adds below support: 1. Add support to read memory strap. 2. Add support to configure below memory parameters -> rcomp resistor configuration -> dqs mapping -> ect and ca vref config 3. Include SPD configuration BUG=b:120914069 BRANCH=None TEST=USE="-intel_mrc -bmplk" emerge-hatch coreboot Change-Id: I9bda08bd0b9f91ebb96b39291e15473492a6bf19 Signed-off-by: Aamir Bohra <aamir.bohra@intel.com> Reviewed-on: https://review.coreboot.org/c/30248 Reviewed-by: Subrata Banik <subrata.banik@intel.com> Reviewed-by: Shelley Chen <shchen@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard/google/hatch/variants/baseboard/Makefile.inc')
-rw-r--r--src/mainboard/google/hatch/variants/baseboard/Makefile.inc22
1 files changed, 22 insertions, 0 deletions
diff --git a/src/mainboard/google/hatch/variants/baseboard/Makefile.inc b/src/mainboard/google/hatch/variants/baseboard/Makefile.inc
index dffacbbffa..182f283feb 100644
--- a/src/mainboard/google/hatch/variants/baseboard/Makefile.inc
+++ b/src/mainboard/google/hatch/variants/baseboard/Makefile.inc
@@ -1,6 +1,28 @@
+## This file is part of the coreboot project.
+##
+## Copyright (C) 2018 Intel Corporation.
+##
+## This program is free software; you can redistribute it and/or modify
+## it under the terms of the GNU General Public License as published by
+## the Free Software Foundation; version 2 of the License.
+##
+## This program is distributed in the hope that it will be useful,
+## but WITHOUT ANY WARRANTY; without even the implied warranty of
+## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+## GNU General Public License for more details.
+##
+
+SPD_SOURCES = samsung_dimm_K4A4G165WE-BCRC-4GB # 0b000
+SPD_SOURCES += empty_ddr4 # 0b001
+SPD_SOURCES += empty_ddr4 # 0b010
+SPD_SOURCES += empty_ddr4 # 0b011
+SPD_SOURCES += empty_ddr4 # 0b100
+SPD_SOURCES += hynix_dimm_H5AN8G6NCJR-VKC-8GB # 0b101
+
bootblock-y += gpio.c
romstage-y += gpio.c
+romstage-y += memory.c
ramstage-y += gpio.c