aboutsummaryrefslogtreecommitdiff
path: root/include/chip.h
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 /include/chip.h
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 'include/chip.h')
-rw-r--r--include/chip.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/chip.h b/include/chip.h
index 588db9f..b957e45 100644
--- a/include/chip.h
+++ b/include/chip.h
@@ -131,6 +131,7 @@ enum proc_chip_quirks {
QUIRK_SIMICS = 0x00000020,
QUIRK_SLOW_SIM = 0x00000040,
QUIRK_NO_DIRECT_CTL = 0x00000080,
+ QUIRK_NO_RNG = 0x00000100,
};
extern enum proc_chip_quirks proc_chip_quirks;