summaryrefslogtreecommitdiffstats
path: root/src/lib
diff options
context:
space:
mode:
authorBrian Silver <bsilver@us.ibm.com>2014-05-27 11:19:37 -0500
committerA. Patrick Williams III <iawillia@us.ibm.com>2014-06-23 14:30:17 -0500
commit7ae7a98c92c8833fa5707e78f55c89281a39c244 (patch)
treee22128bfb4936b93e1dfd13535535c819945e572 /src/lib
parentc2c12d0e18a6104d9e37070a2b18f7881afc5dc9 (diff)
downloadtalos-hostboot-7ae7a98c92c8833fa5707e78f55c89281a39c244.tar.gz
talos-hostboot-7ae7a98c92c8833fa5707e78f55c89281a39c244.zip
Add Naples support to the kernel
Change-Id: Ie748454257938103bdb76d7ac1b5d425bc97d348 RTC: 107941 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/11298 Tested-by: Jenkins Server Reviewed-by: Douglas R. Gilbert <dgilbert@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/syscall_misc.C1
-rw-r--r--src/lib/syscall_mmio.C1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/syscall_misc.C b/src/lib/syscall_misc.C
index c2ad5f283..9d86bf937 100644
--- a/src/lib/syscall_misc.C
+++ b/src/lib/syscall_misc.C
@@ -61,6 +61,7 @@ size_t cpu_thread_count()
{
case CORE_POWER8_MURANO:
case CORE_POWER8_VENICE:
+ case CORE_POWER8_NAPLES:
threads = 8;
break;
diff --git a/src/lib/syscall_mmio.C b/src/lib/syscall_mmio.C
index c044408d5..a15b1c9b4 100644
--- a/src/lib/syscall_mmio.C
+++ b/src/lib/syscall_mmio.C
@@ -64,6 +64,7 @@ static uint64_t mmio_scratch_base()
{
case CORE_POWER8_MURANO:
case CORE_POWER8_VENICE:
+ case CORE_POWER8_NAPLES:
case CORE_UNKNOWN:
default:
return 0x40;
OpenPOWER on IntegriCloud