|
|
99c779 |
From a49913317e51d607bf43249143eedffaaa64a5a8 Mon Sep 17 00:00:00 2001
|
|
|
99c779 |
From: Vasant Hegde <hegdevasant@linux.vnet.ibm.com>
|
|
|
99c779 |
Date: Mon, 28 Nov 2016 14:57:27 +0530
|
|
|
99c779 |
Subject: [PATCH 32/43] devtree: Use consistent output format
|
|
|
99c779 |
|
|
|
99c779 |
Use consistent output format (FRU# <value>).
|
|
|
99c779 |
|
|
|
99c779 |
This change is specific to Power Systems.
|
|
|
99c779 |
|
|
|
99c779 |
Signed-off-by: Vasant Hegde <hegdevasant@linux.vnet.ibm.com>
|
|
|
99c779 |
---
|
|
|
99c779 |
src/core/device-tree.cc | 4 ++--
|
|
|
99c779 |
1 file changed, 2 insertions(+), 2 deletions(-)
|
|
|
99c779 |
|
|
|
99c779 |
diff --git a/src/core/device-tree.cc b/src/core/device-tree.cc
|
|
|
99c779 |
index 1e49f3a..21bb6d9 100644
|
|
|
99c779 |
--- a/src/core/device-tree.cc
|
|
|
99c779 |
+++ b/src/core/device-tree.cc
|
|
|
99c779 |
@@ -428,7 +428,7 @@ static void add_chip_vpd(string path, string name,
|
|
|
99c779 |
data->product = hw::strip(get_string("part-number"));
|
|
|
99c779 |
|
|
|
99c779 |
if (exists("fru-number"))
|
|
|
99c779 |
- data->product += " FRU #" + hw::strip(get_string("fru-number"));
|
|
|
99c779 |
+ data->product += " FRU# " + hw::strip(get_string("fru-number"));
|
|
|
99c779 |
|
|
|
99c779 |
vpd.insert(std::pair<uint32_t, chip_vpd_data *>(chip_id, data));
|
|
|
99c779 |
}
|
|
|
99c779 |
@@ -776,7 +776,7 @@ void add_memory_bank(string name, string path, hwNode & core)
|
|
|
99c779 |
product = get_string("part-number");
|
|
|
99c779 |
if(exists("fru-number"))
|
|
|
99c779 |
{
|
|
|
99c779 |
- product += " FRU#" + get_string("fru-number");
|
|
|
99c779 |
+ product += " FRU# " + get_string("fru-number");
|
|
|
99c779 |
}
|
|
|
99c779 |
if(product != "")
|
|
|
99c779 |
bank.setProduct(hw::strip(product));
|
|
|
99c779 |
--
|
|
|
99c779 |
2.10.2
|
|
|
99c779 |
|