diff options
author | Andre Marin <aamarin@us.ibm.com> | 2016-03-17 16:52:26 -0500 |
---|---|---|
committer | Daniel M. Crowell <dcrowell@us.ibm.com> | 2016-03-28 22:33:35 -0400 |
commit | 754bc9a7a8531232ef66e702d65e0bf530c51a42 (patch) | |
tree | 7031ff838d1f10d93df675abe32ebcb510094f13 /src/import/chips/p9/procedures/hwp/memory | |
parent | c82cf18ae1ce7568c9ea1d3b401542f94f86a630 (diff) | |
download | talos-hostboot-754bc9a7a8531232ef66e702d65e0bf530c51a42.tar.gz talos-hostboot-754bc9a7a8531232ef66e702d65e0bf530c51a42.zip |
Add spd cache, fix unit tests, and eff_config prototype
Conflicts:
chips/p9/procedures/hwp/memory/lib/eff_config/eff_config.C
chips/p9/procedures/hwp/memory/lib/spd/spd_decoder.C
chips/p9/procedures/hwp/memory/lib/spd/spd_decoder.H
chips/p9/procedures/hwp/memory/p9_mss_eff_config.C
chips/p9/procedures/hwp/memory/tests/mss_eff_config_ut.C
chips/p9/procedures/hwp/memory/tests/mss_spd_ut.C
Change-Id: Ibe24994444dc32cb852be970eeda18cb6e3c804e
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/22214
Tested-by: Hostboot CI
Tested-by: Jenkins Server
Reviewed-by: Louis Stermole <stermole@us.ibm.com>
Reviewed-by: Brian R. Silver <bsilver@us.ibm.com>
Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/22215
Tested-by: FSP CI Jenkins
Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/import/chips/p9/procedures/hwp/memory')
-rw-r--r-- | src/import/chips/p9/procedures/hwp/memory/p9_mss_eff_config.C | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/src/import/chips/p9/procedures/hwp/memory/p9_mss_eff_config.C b/src/import/chips/p9/procedures/hwp/memory/p9_mss_eff_config.C index 91bdb97c8..58d55af21 100644 --- a/src/import/chips/p9/procedures/hwp/memory/p9_mss_eff_config.C +++ b/src/import/chips/p9/procedures/hwp/memory/p9_mss_eff_config.C @@ -26,9 +26,13 @@ // *HWP Team: Memory // *HWP Level: 1 // *HWP Consumed by: FSP:HB +#include <map> +#include <vector> #include <fapi2.H> #include <p9_mss_eff_config.H> +#include <lib/utils/pos.H> +#include <lib/spd/spd_decoder.H> /// @@ -38,7 +42,13 @@ /// fapi2::ReturnCode p9_mss_eff_config( const fapi2::Target<fapi2::TARGET_TYPE_MCS>& i_target ) { - FAPI_INF("Start effective config"); + // Caches + std::map<uint32_t, std::shared_ptr<mss::spd::decoder> > l_factory_caches; + + FAPI_TRY( mss::spd::populate_decoder_caches(i_target, l_factory_caches) ); + FAPI_INF("End effective config"); - return fapi2::FAPI2_RC_SUCCESS; + +fapi_try_exit: + return fapi2::current_err; } |