mb/google/hatch: Add memory init setup for hatch
commit4b85d46170ef44ab88b9cf844e3d3feaf9e7e89e
authorAamir Bohra <aamir.bohra@intel.com>
Sun, 16 Dec 2018 07:40:58 +0000 (16 13:10 +0530)
committerSubrata Banik <subrata.banik@intel.com>
Sun, 23 Dec 2018 05:12:14 +0000 (23 05:12 +0000)
tree23405bc1cbb8224ed4043e5a90a837b4966ea633
parent09e7b998379225fb0b79e5fd2fb5ba9b95bd6961
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>
12 files changed:
src/mainboard/google/hatch/Kconfig
src/mainboard/google/hatch/Makefile.inc
src/mainboard/google/hatch/romstage.c
src/mainboard/google/hatch/spd/Makefile.inc [new file with mode: 0644]
src/mainboard/google/hatch/spd/empty_ddr4.spd.hex [new file with mode: 0644]
src/mainboard/google/hatch/spd/hynix_dimm_H5AN8G6NCJR-VKC-8GB.spd.hex [new file with mode: 0644]
src/mainboard/google/hatch/spd/samsung_dimm_K4A4G165WE-BCRC-4GB.spd.hex [new file with mode: 0644]
src/mainboard/google/hatch/variants/baseboard/Makefile.inc
src/mainboard/google/hatch/variants/baseboard/gpio.c
src/mainboard/google/hatch/variants/baseboard/include/baseboard/gpio.h
src/mainboard/google/hatch/variants/baseboard/include/baseboard/variants.h
src/mainboard/google/hatch/variants/baseboard/memory.c [new file with mode: 0644]