diff mbox

[3/3] ibm-fsp: use opal-prd on p9 and above

Message ID 20170424032935.28003-3-oohall@gmail.com
State Accepted
Headers show

Commit Message

Oliver O'Halloran April 24, 2017, 3:29 a.m. UTC
Previously the PRD tooling ran on the FSP, but it was moved into
userspace on the host for OpenPower systems. For P9 this system
was adopted for FSP systems too.

Signed-off-by: Oliver O'Halloran <oohall@gmail.com>
---
 platforms/ibm-fsp/common.c | 3 +++
 1 file changed, 3 insertions(+)
diff mbox

Patch

diff --git a/platforms/ibm-fsp/common.c b/platforms/ibm-fsp/common.c
index dc3a002a8593..237b63fb4f05 100644
--- a/platforms/ibm-fsp/common.c
+++ b/platforms/ibm-fsp/common.c
@@ -165,6 +165,9 @@  void ibm_fsp_init(void)
 	/* Setup console */
 	if (fsp_present())
 		fsp_console_add_nodes();
+
+	if (proc_gen >= proc_gen_p9)
+		prd_init();
 }
 
 void ibm_fsp_exit(void)