diff options
author | Stewart Smith <stewart@linux.ibm.com> | 2019-06-18 17:29:23 +1000 |
---|---|---|
committer | Stewart Smith <stewart@linux.ibm.com> | 2019-06-24 15:59:07 +1000 |
commit | dfb707f5579eb3c4fa2a2e5d94ddb7136fac8249 (patch) | |
tree | 9b7ffcb46406c9217caffa5d55eac400a749fa89 /include/platform.h | |
parent | 5f64c9e48a120ccf49a27354c5a56b46d8441fc5 (diff) | |
download | skiboot-dfb707f5579eb3c4fa2a2e5d94ddb7136fac8249.zip skiboot-dfb707f5579eb3c4fa2a2e5d94ddb7136fac8249.tar.gz skiboot-dfb707f5579eb3c4fa2a2e5d94ddb7136fac8249.tar.bz2 |
Separate FSP specific PSI code
Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
Diffstat (limited to 'include/platform.h')
-rw-r--r-- | include/platform.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/include/platform.h b/include/platform.h index 966f704..f17847a 100644 --- a/include/platform.h +++ b/include/platform.h @@ -80,6 +80,16 @@ struct platform_ocapi { struct dt_node; /* + * Just for FSP platforms, allows us to partly decouple + * FSP specific code from core code. + */ +struct platform_psi { + void (*psihb_interrupt)(void); + void (*link_established)(void); + void (*fsp_interrupt)(void); +}; + +/* * Each platform can provide a set of hooks * that can affect the generic code */ @@ -93,6 +103,11 @@ struct platform { */ const struct bmc_platform *bmc; + /* + * PSI handling code. FSP specific. + */ + const struct platform_psi *psi; + /* OpenCAPI platform-specific I2C information */ const struct platform_ocapi *ocapi; |