mb/google/rex: Add memory init
commit67219f73316f7b9f2bb91d195a6f95aa4e1f9e5d
authorEric Lai <eric_lai@quanta.corp-partner.google.com>
Wed, 1 Jun 2022 03:19:39 +0000 (1 11:19 +0800)
committerSubrata Banik <subratabanik@google.com>
Fri, 1 Jul 2022 07:24:16 +0000 (1 07:24 +0000)
treea9efc310bd403ab086ead8408c3f1baa9edc0574
parent8481056a53f5a42bfece355595c6dad21f2fd8f4
mb/google/rex: Add memory init

Add memory init with placeholder to fill in required memory
configuration parameters. DQ map and Rcomp can be auto probed by
the FSP-M hence, kept it as default.

BUG=b:224325352
TEST=util/abuild/abuild -p none -t google/rex -a -c max
Able to boot till FSP-M/MRC using MTL simics.

Signed-off-by: Eric Lai <eric_lai@quanta.corp-partner.google.com>
Signed-off-by: Subrata Banik <subratabanik@google.com>
Change-Id: I5baa87411c28a20602eb5a7077f00664ccab3ade
Reviewed-on: https://review.coreboot.org/c/coreboot/+/64850
Reviewed-by: Tarun Tuli <taruntuli@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
src/mainboard/google/rex/Kconfig
src/mainboard/google/rex/Makefile.inc
src/mainboard/google/rex/romstage.c
src/mainboard/google/rex/spd/Makefile.inc [new file with mode: 0644]
src/mainboard/google/rex/variants/baseboard/include/baseboard/variants.h
src/mainboard/google/rex/variants/baseboard/rex/Makefile.inc
src/mainboard/google/rex/variants/baseboard/rex/memory.c [new file with mode: 0644]
src/mainboard/google/rex/variants/rex0/memory/Makefile.inc [new file with mode: 0644]
src/mainboard/google/rex/variants/rex0/memory/dram_id.generated.txt [new file with mode: 0644]
src/mainboard/google/rex/variants/rex0/memory/mem_parts_used.txt [new file with mode: 0644]