aboutsummaryrefslogtreecommitdiff
path: root/hdata
diff options
context:
space:
mode:
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>2015-04-09 08:10:30 +1000
committerStewart Smith <stewart@linux.vnet.ibm.com>2015-04-09 14:38:12 +1000
commit2f9eccfe836ed918202447c493d63486d29dba9c (patch)
tree3841bf901b48c3ada3a51a9e399638d7e631ea7e /hdata
parent4a574d2bbf3779a409fac9c46d4ab44b40a1803d (diff)
downloadskiboot-2f9eccfe836ed918202447c493d63486d29dba9c.zip
skiboot-2f9eccfe836ed918202447c493d63486d29dba9c.tar.gz
skiboot-2f9eccfe836ed918202447c493d63486d29dba9c.tar.bz2
Add Naples chip support
This adds the PVR and CFAM ID for the Naples chip. Otherwise treated as a Venice. This doesn't add the definitions for the new PHB revision yet Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'hdata')
-rw-r--r--hdata/cpu-common.c1
-rw-r--r--hdata/test/hdata_to_dt.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/hdata/cpu-common.c b/hdata/cpu-common.c
index e1aa607..e0f335b 100644
--- a/hdata/cpu-common.c
+++ b/hdata/cpu-common.c
@@ -53,6 +53,7 @@ struct dt_node * add_core_common(struct dt_node *cpus,
break;
case PVR_TYPE_P8E:
case PVR_TYPE_P8:
+ case PVR_TYPE_P8NVL:
name = "PowerPC,POWER8";
break;
default:
diff --git a/hdata/test/hdata_to_dt.c b/hdata/test/hdata_to_dt.c
index 4215740..4ca2a10 100644
--- a/hdata/test/hdata_to_dt.c
+++ b/hdata/test/hdata_to_dt.c
@@ -48,6 +48,7 @@ static void *ntuple_addr(const struct spira_ntuple *n);
#define PVR_TYPE_P7P 0x004a
#define PVR_TYPE_P8E 0x004b
#define PVR_TYPE_P8 0x004d
+#define PVR_TYPE_P8NVL 0x004c
#define SPR_PVR 0x11f /* RO: Processor version register */