From cbac4e3d76af5885331b0e7de2bec53af059f695 Mon Sep 17 00:00:00 2001 From: Mark Pizzutillo Date: Tue, 21 May 2019 17:04:09 -0400 Subject: Add pmic fields to p9a eff_config Change-Id: I83425325584b4c418f974b0d62f72bfa08016ae6 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/77713 Reviewed-by: Matt Derksen Reviewed-by: STEPHEN GLANCY Tested-by: FSP CI Jenkins Tested-by: Jenkins Server Reviewed-by: Louis Stermole Tested-by: Hostboot CI Reviewed-by: Thi N. Tran Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/77755 Tested-by: Jenkins OP Build CI Tested-by: Jenkins OP HW Reviewed-by: Daniel M. Crowell --- src/import/chips/p9a/procedures/hwp/memory/p9a_mss_eff_config.C | 4 ++++ src/import/chips/p9a/procedures/hwp/memory/p9a_mss_eff_config.mk | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) (limited to 'src/import/chips/p9a') diff --git a/src/import/chips/p9a/procedures/hwp/memory/p9a_mss_eff_config.C b/src/import/chips/p9a/procedures/hwp/memory/p9a_mss_eff_config.C index 8a5529734..a3358f3ce 100644 --- a/src/import/chips/p9a/procedures/hwp/memory/p9a_mss_eff_config.C +++ b/src/import/chips/p9a/procedures/hwp/memory/p9a_mss_eff_config.C @@ -42,6 +42,7 @@ #include #include #include +#include #include #include #include @@ -110,6 +111,9 @@ fapi2::ReturnCode p9a_mss_eff_config( const fapi2::Target::set(l_spd_decoder) ); + + // Set up pmic SPD ATTRS + FAPI_TRY( mss::attr_eff_engine::set(l_spd_decoder) ); } } diff --git a/src/import/chips/p9a/procedures/hwp/memory/p9a_mss_eff_config.mk b/src/import/chips/p9a/procedures/hwp/memory/p9a_mss_eff_config.mk index 65e376f98..9935a200e 100644 --- a/src/import/chips/p9a/procedures/hwp/memory/p9a_mss_eff_config.mk +++ b/src/import/chips/p9a/procedures/hwp/memory/p9a_mss_eff_config.mk @@ -5,7 +5,7 @@ # # OpenPOWER HostBoot Project # -# Contributors Listed Below - COPYRIGHT 2018 +# Contributors Listed Below - COPYRIGHT 2018,2019 # [+] International Business Machines Corp. # # @@ -28,4 +28,5 @@ PROCEDURE=p9a_mss_eff_config $(eval $(call ADD_P9A_MEMORY_INCDIRS,$(PROCEDURE))) +lib$(PROCEDURE)_DEPLIBS+=mss_pmic $(call BUILD_PROCEDURE) -- cgit v1.2.1