diff options
author | Vasant Hegde <hegdevasant@linux.vnet.ibm.com> | 2021-08-04 12:51:07 +0530 |
---|---|---|
committer | Vasant Hegde <hegdevasant@linux.vnet.ibm.com> | 2021-08-06 12:24:32 +0530 |
commit | 636bf0fe2498dc49d5e1b89643fa60ffa2e96766 (patch) | |
tree | 763eeae13b8bb310ad19cb149fd3f9d19c98a5f7 /hw/fsp | |
parent | 7dab7412deec9d93ce1d7f2834e0f0eeaec779fb (diff) | |
download | skiboot-636bf0fe2498dc49d5e1b89643fa60ffa2e96766.zip skiboot-636bf0fe2498dc49d5e1b89643fa60ffa2e96766.tar.gz skiboot-636bf0fe2498dc49d5e1b89643fa60ffa2e96766.tar.bz2 |
platform: Add Denali platform support
Denali is P10 system. But FSP interaction (MBOX protocol) is same as ZZ.
Hence add denali platform detection code inside zz.c for now. We can think
of adding separate platform later.
Also enable :
- P10 TCE mapping support
- Detect PHBs
Signed-off-by: Vasant Hegde <hegdevasant@linux.vnet.ibm.com>
Diffstat (limited to 'hw/fsp')
-rw-r--r-- | hw/fsp/fsp-psi.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/fsp/fsp-psi.c b/hw/fsp/fsp-psi.c index aeaf47e..38f130d 100644 --- a/hw/fsp/fsp-psi.c +++ b/hw/fsp/fsp-psi.c @@ -37,6 +37,7 @@ void psi_init_for_fsp(struct psi *psi) switch (proc_gen) { case proc_gen_p8: case proc_gen_p9: + case proc_gen_p10: out_be64(psi->regs + PSIHB_TAR, PSI_TCE_TABLE_BASE | PSIHB_TAR_256K_ENTRIES); break; |