Make CPU number index start from 1 instead of 0
For end-user friendly number indexing, this commit makes CPU number
index start from 1 instead of 0.
Tested: Dbus interface items of cpusensor showed CPU1 and CPU2 instead
of CPU0 and CPU1.
Change-Id: I01824e713171100dc5cc28b5855f891ecc15a28c
Signed-off-by: Jae Hyun Yoo <jae.hyun.yoo@linux.intel.com>
diff --git a/configurations/STP Baseboard.json b/configurations/STP Baseboard.json
index a01ea9d..93d8ced 100644
--- a/configurations/STP Baseboard.json
+++ b/configurations/STP Baseboard.json
@@ -788,8 +788,8 @@
},
{
"Address": "0x30",
- "CpuID": 0,
- "Name": "Skylake CPU 0",
+ "CpuID": 1,
+ "Name": "Skylake CPU 1",
"Thresholds": [
{
"Direction": "greater than",
@@ -810,8 +810,8 @@
},
{
"Address": "0x31",
- "CpuID": 1,
- "Name": "Skylake CPU 1",
+ "CpuID": 2,
+ "Name": "Skylake CPU 2",
"Thresholds": [
{
"Direction": "greater than",
diff --git a/configurations/WFT Baseboard.json b/configurations/WFT Baseboard.json
index 353bf1a..02a3ef8 100644
--- a/configurations/WFT Baseboard.json
+++ b/configurations/WFT Baseboard.json
@@ -809,8 +809,8 @@
{
"Address": "0x30",
"Bus": 0,
- "CpuID": 0,
- "Name": "Skylake CPU 0",
+ "CpuID": 1,
+ "Name": "Skylake CPU 1",
"Thresholds": [
{
"Direction": "greater than",
@@ -832,8 +832,8 @@
{
"Address": "0x31",
"Bus": 0,
- "CpuID": 1,
- "Name": "Skylake CPU 1",
+ "CpuID": 2,
+ "Name": "Skylake CPU 2",
"Thresholds": [
{
"Direction": "greater than",