Sort Exposes Alphabetically By Type
This makes it much easier to find components of
a specific type because they will be grouped together.
Tested: Sensor list was still the same
Change-Id: Iab15be34e003be1aac120864c18a80eaaa9b391c
Signed-off-by: James Feist <james.feist@linux.intel.com>
diff --git a/configurations/A2UL16RISER.json b/configurations/A2UL16RISER.json
index caa866f..bbf03c0 100644
--- a/configurations/A2UL16RISER.json
+++ b/configurations/A2UL16RISER.json
@@ -2,6 +2,24 @@
{
"Exposes": [
{
+ "Address": "$address",
+ "Bus": "$bus",
+ "Name": "Riser 1 Fru",
+ "Type": "EEPROM"
+ },
+ {
+ "Address": "0x72",
+ "Bus": "$bus",
+ "ChannelNames": [
+ "Pcie_Slot_1",
+ "Pcie_Slot_2",
+ "Pcie_Slot_3",
+ ""
+ ],
+ "Name": "Riser 1 Mux",
+ "Type": "PCA9544Mux"
+ },
+ {
"Address": "0x48",
"Bus": "$bus",
"Name": "Riser1 Temp",
@@ -32,29 +50,11 @@
}
],
"Type": "TMP75"
- },
- {
- "Address": "0x72",
- "Bus": "$bus",
- "ChannelNames": [
- "Pcie_Slot_1",
- "Pcie_Slot_2",
- "Pcie_Slot_3",
- ""
- ],
- "Name": "Riser 1 Mux",
- "Type": "PCA9544Mux"
- },
- {
- "Address": "$address",
- "Bus": "$bus",
- "Name": "Riser 1 Fru",
- "Type": "EEPROM"
}
],
"Name": "2U12x35 Riser1",
- "Type": "Board",
"Probe": "xyz.openbmc_project.FruDevice({'BOARD_PRODUCT_NAME': 'A2UL16RISER\\d', 'ADDRESS' : 80})",
+ "Type": "Board",
"xyz.openbmc_project.Inventory.Decorator.Asset": {
"Manufacturer": "$BOARD_MANUFACTURER",
"Model": "$BOARD_PRODUCT_NAME",
@@ -65,6 +65,24 @@
{
"Exposes": [
{
+ "Address": "$address",
+ "Bus": "$bus",
+ "Name": "Riser 2 Fru",
+ "Type": "EEPROM"
+ },
+ {
+ "Address": "0x73",
+ "Bus": "$bus",
+ "ChannelNames": [
+ "Pcie_Slot_1",
+ "Pcie_Slot_2",
+ "Pcie_Slot_3",
+ ""
+ ],
+ "Name": "Riser 2 Mux",
+ "Type": "PCA9544Mux"
+ },
+ {
"Address": "0x49",
"Bus": "$bus",
"Name": "Riser2 Temp",
@@ -95,24 +113,6 @@
}
],
"Type": "TMP75"
- },
- {
- "Address": "0x73",
- "Bus": "$bus",
- "ChannelNames": [
- "Pcie_Slot_1",
- "Pcie_Slot_2",
- "Pcie_Slot_3",
- ""
- ],
- "Name": "Riser 2 Mux",
- "Type": "PCA9544Mux"
- },
- {
- "Address": "$address",
- "Bus": "$bus",
- "Name": "Riser 2 Fru",
- "Type": "EEPROM"
}
],
"Name": "2U12x35 Riser2",