summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPrem Shanker Jha <premjha2@in.ibm.com>2015-12-27 23:03:05 -0600
committerDaniel M. Crowell <dcrowell@us.ibm.com>2016-03-28 22:34:08 -0400
commita8dacdce7d0ca91ade70f4eaa385b8f2de0a5a44 (patch)
treee3ad4929388c443551f94860434b2d367a6178c2
parent754bc9a7a8531232ef66e702d65e0bf530c51a42 (diff)
downloadtalos-hostboot-a8dacdce7d0ca91ade70f4eaa385b8f2de0a5a44.tar.gz
talos-hostboot-a8dacdce7d0ca91ade70f4eaa385b8f2de0a5a44.zip
PM: Added code for CME Boot
Added code in SGPE and CME code base to enable booting of CME. SGPE initiates first block copy. It copies CME Hcode, common scan rings and Pstate parameter block to CME's SRAM. Once this block copy is done, SGPE kicks off CME. Once CME starts, during its initialization, it triggers second block copy which copies instance specific scan rings to CME's SRAM. Change-Id: I02097e55e319a15c5c4d1540cf41ce240db3d6a6 RTC:136957 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/10674 Tested-by: Jenkins Server Tested-by: Hostboot CI Reviewed-by: Gregory S. Still <stillgs@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/22352 Tested-by: FSP CI Jenkins Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
-rw-r--r--src/import/chips/p9/procedures/hwp/lib/p9_hcode_image_defines.H1
-rwxr-xr-xsrc/import/chips/p9/procedures/hwp/lib/p9_stop_util.H4
2 files changed, 3 insertions, 2 deletions
diff --git a/src/import/chips/p9/procedures/hwp/lib/p9_hcode_image_defines.H b/src/import/chips/p9/procedures/hwp/lib/p9_hcode_image_defines.H
index 1477ee1b8..5cd3daf6a 100644
--- a/src/import/chips/p9/procedures/hwp/lib/p9_hcode_image_defines.H
+++ b/src/import/chips/p9/procedures/hwp/lib/p9_hcode_image_defines.H
@@ -31,7 +31,6 @@
//--------------------------------------------------------------------------
// local structs and constants
// -------------------------------------------------------------------------
-
#ifndef __ASSEMBLER__
#ifndef __PPE_PLAT
diff --git a/src/import/chips/p9/procedures/hwp/lib/p9_stop_util.H b/src/import/chips/p9/procedures/hwp/lib/p9_stop_util.H
index ea7d7092b..69cdb233d 100755
--- a/src/import/chips/p9/procedures/hwp/lib/p9_stop_util.H
+++ b/src/import/chips/p9/procedures/hwp/lib/p9_stop_util.H
@@ -25,7 +25,9 @@
#include <endian.h>
#endif
-#include "p9_stop_api.H"
+#ifndef __PPE_PLAT
+ #include "p9_stop_api.H"
+#endif
#ifdef FAPI_2
#include <fapi2.H>
OpenPOWER on IntegriCloud