diff options
author | Naresh G Solanki <naresh.solanki@intel.com> | 2016-11-09 15:24:49 +0530 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2016-11-11 20:16:17 +0100 |
commit | 102efd359b1546f6a59d882ceec8cf90f9431d84 (patch) | |
tree | 8c80df71318c4433f147b220823d8d94d3a6345f /src/mainboard/intel/kblrvp/spd/spd_util.c | |
parent | 6fed46805e42bb8c1952cb398d72657d0e776f4a (diff) | |
download | coreboot-102efd359b1546f6a59d882ceec8cf90f9431d84.tar.xz |
kblrvp: Add support for Hynix memory
Add support for hynix memory variant of RVP3.
Change-Id: Ic1f8630b36eb131b70c5e3b620957d9602da11ee
Signed-off-by: Naresh G Solanki <naresh.solanki@intel.com>
Reviewed-on: https://review.coreboot.org/17339
Tested-by: build bot (Jenkins)
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Diffstat (limited to 'src/mainboard/intel/kblrvp/spd/spd_util.c')
-rw-r--r-- | src/mainboard/intel/kblrvp/spd/spd_util.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mainboard/intel/kblrvp/spd/spd_util.c b/src/mainboard/intel/kblrvp/spd/spd_util.c index dc042d4b1a..9ffc8eeff3 100644 --- a/src/mainboard/intel/kblrvp/spd/spd_util.c +++ b/src/mainboard/intel/kblrvp/spd/spd_util.c @@ -19,7 +19,7 @@ #include <string.h> #include <soc/pei_data.h> #include <soc/pei_wrapper.h> -#include "boardid.h" +#include "../board_id.h" #include "spd.h" void mainboard_fill_dq_map_data(void *dq_map_ptr) @@ -65,7 +65,7 @@ uintptr_t mainboard_get_spd_data(void) int spd_index, spd_span; size_t spd_file_len; - spd_index = 0; + spd_index = (get_board_id() >> 5) & 0xF; printk(BIOS_INFO, "SPD index %d\n", spd_index); /* Load SPD data from CBFS */ |