aboutsummaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorMichael Neuling <mikey@neuling.org>2017-04-26 20:05:47 +1000
committerStewart Smith <stewart@linux.vnet.ibm.com>2017-04-27 14:16:19 +1000
commit7ddbfb98fdb88b229d829d7c1d5265a722e708af (patch)
tree0126dcbd25d709c8914a52c0727ac9a4c19c6781 /core
parentba4d46fdd9eb3543ec9841efc8f504c21a5f9a48 (diff)
downloadskiboot-7ddbfb98fdb88b229d829d7c1d5265a722e708af.zip
skiboot-7ddbfb98fdb88b229d829d7c1d5265a722e708af.tar.gz
skiboot-7ddbfb98fdb88b229d829d7c1d5265a722e708af.tar.bz2
nx: Add POWER9 DARN support
This sets up the per chip RNG MMIO BAR and points the per core DARN BAR at it. This is needed on P9 to enabled the DARN instruction (otherwise it'll cause a xstop). This includes a minor rework of some #defines to abstract MMIO definitions. Signed-off-by: Michael Neuling <mikey@neuling.org> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'core')
-rw-r--r--core/chip.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/chip.c b/core/chip.c
index 56b5063..7765545 100644
--- a/core/chip.c
+++ b/core/chip.c
@@ -80,7 +80,7 @@ void init_chips(void)
if (dt_find_by_path(dt_root, "/mambo")) {
proc_chip_quirks |= QUIRK_NO_CHIPTOD | QUIRK_MAMBO_CALLOUTS
| QUIRK_NO_F000F | QUIRK_NO_PBA | QUIRK_NO_OCC_IRQ
- | QUIRK_NO_DIRECT_CTL;
+ | QUIRK_NO_DIRECT_CTL | QUIRK_NO_RNG;
prlog(PR_NOTICE, "CHIP: Detected Mambo simulator\n");
}
/* Detect simics */