configurations: yosemite4: Fix Cpu type field
The code generates inventory items according to this field.
The inventory item for a cpu according to PDI:
`xyz.openbmc_project.Inventory.Item.Cpu", but all letters in capital
creates `xyz.openbmc_project.Inventory.Item.CPU` which also conflicts
with bmcweb code.
Fixing the schema in schemas/global.json accordingly.
Fixes: 48e44b75001a ("configurations: yosemite4: Support for CPU Configurations")
Change-Id: Ibf826fca0a28e818796fc1a5fa793a5165eba028
Signed-off-by: Christopher Meis <christopher.meis@9elements.com>
diff --git a/configurations/meta/yv4/yosemite4_cpu.json b/configurations/meta/yv4/yosemite4_cpu.json
index 6eaaeca..641d83f 100644
--- a/configurations/meta/yv4/yosemite4_cpu.json
+++ b/configurations/meta/yv4/yosemite4_cpu.json
@@ -2,7 +2,7 @@
"Exposes": [],
"Name": "Yosemite 4 Sentinel Dome Slot $bus % 15 CPU",
"Probe": "xyz.openbmc_project.FruDevice({'BOARD_PRODUCT_NAME': 'Sentinel Dome', 'PRODUCT_PRODUCT_NAME': 'Yosemite V4'})",
- "Type": "CPU",
+ "Type": "Cpu",
"xyz.openbmc_project.Inventory.Decorator.Asset": {
"Manufacturer": "N/A",
"Model": "N/A",
diff --git a/schemas/global.json b/schemas/global.json
index 2a4037d..59ec897 100644
--- a/schemas/global.json
+++ b/schemas/global.json
@@ -46,7 +46,7 @@
"Chassis",
"NVMe",
"PowerSupply",
- "CPU",
+ "Cpu",
"Cable",
"Valve"
]