mainboard/google/reef: add baseboard memory configuration
commitd94967dd22f66adf92a751e31e677924a9fc868d
authorAaron Durbin <adurbin@chromium.org>
Sat, 3 Sep 2016 00:53:46 +0000 (2 19:53 -0500)
committerAaron Durbin <adurbin@chromium.org>
Tue, 6 Sep 2016 18:16:32 +0000 (6 20:16 +0200)
tree7fdf125c78490dabf54cd0e01a461498468024b3
parent475d2cb19e5e822c10239167864faf647a5d93c5
mainboard/google/reef: add baseboard memory configuration

Move the current memory configuration implementation to the baseboard
area such that other variants can leverage it. The swizzle config
is exported as a global to allow duplicate swizzles to use the same
structure while still allowing different memory SKUs.

BUG=chrome-os-partner:56677

Change-Id: I57201118053051c01f0e3f164ab4bbaf650b892b
Signed-off-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-on: https://review.coreboot.org/16430
Tested-by: build bot (Jenkins)
Reviewed-by: Duncan Laurie <dlaurie@chromium.org>
src/mainboard/google/reef/romstage.c
src/mainboard/google/reef/variants/baseboard/Makefile.inc
src/mainboard/google/reef/variants/baseboard/include/baseboard/variants.h
src/mainboard/google/reef/variants/baseboard/memory.c [copied from src/mainboard/google/reef/romstage.c with 92% similarity]