From 5eaa67a665bf3c6d4809718f8f98838c2af80d6b Mon Sep 17 00:00:00 2001 From: Corey Swenson Date: Wed, 20 Nov 2019 16:26:49 -0600 Subject: Always send NV_STATUS to Opal when opal-prd starts Opal does not persist NVDIMM status state so HBRT must send this info to Opal when opal-prd starts. Change-Id: I0771c63ff2857f9b70fbfad5760267e3da463009 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/87541 Tested-by: Jenkins Server Tested-by: Jenkins OP Build CI Tested-by: Jenkins OP HW Tested-by: FSP CI Jenkins Reviewed-by: Roland Veloz Reviewed-by: Matt Derksen Reviewed-by: Daniel M Crowell --- src/runtime/rt_main.C | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src/runtime/rt_main.C') diff --git a/src/runtime/rt_main.C b/src/runtime/rt_main.C index b8f37e46c..3aa2931e6 100644 --- a/src/runtime/rt_main.C +++ b/src/runtime/rt_main.C @@ -5,7 +5,7 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* Contributors Listed Below - COPYRIGHT 2013,2018 */ +/* Contributors Listed Below - COPYRIGHT 2013,2019 */ /* [+] International Business Machines Corp. */ /* */ /* */ @@ -166,6 +166,11 @@ runtimeInterfaces_t* rt_start(hostInterfaces_t* intf) // (HTMGT not compiled in by default) } +#ifdef CONFIG_NVDIMM + // Update hose with current NV_STATUS + rtPost->callSendNvStatus(); +#endif + // do any version mismatch fixups rt_version_fixup(); -- cgit v1.2.1