From 87b58805e41ccb47c313266e76219d9b0bb5f05e Mon Sep 17 00:00:00 2001
From: moubingquan <moubingquan@huawei.com>
Date: Mon, 20 May 2024 14:13:24 +0800
Subject: [PATCH] hikptool: The ecam register is added to the PCIe dumpreg.

The ecam register is added to facilitate fault locating.

Updated the tool version to 1.1.2.

Signed-off-by: moubingquan <moubingquan@huawei.com>
---
 pcie/func_lib/pcie_func/pcie_reg_dump.c | 2 ++
 tool_lib/tool_lib.h                     | 2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/pcie/func_lib/pcie_func/pcie_reg_dump.c b/pcie/func_lib/pcie_func/pcie_reg_dump.c
index b8c2241..535807c 100644
--- a/pcie/func_lib/pcie_func/pcie_reg_dump.c
+++ b/pcie/func_lib/pcie_func/pcie_reg_dump.c
@@ -144,6 +144,8 @@ struct pcie_dumpreg_info g_reg_table_pcs[] = {
 };
 
 struct pcie_dumpreg_info g_reg_table_iob_tx[] = {
+	{0, "IOB_TX_ECAM_CONTROL0"},
+	{0, "IOB_TX_ECAM_CONTROL1"},
 	{0, "IOB_TX_ECAM_BASE_ADDR_L"},
 	{0, "IOB_TX_ECAM_BASE_ADDR_H"},
 	{0, "IOB_TX_CXL_BASE_BUS_0"},
diff --git a/tool_lib/tool_lib.h b/tool_lib/tool_lib.h
index 72a99c6..644a08e 100644
--- a/tool_lib/tool_lib.h
+++ b/tool_lib/tool_lib.h
@@ -18,7 +18,7 @@
 
 #define TOOL_NAME "hikptool"
 
-#define TOOL_VER "1.1.1"
+#define TOOL_VER "1.1.2"
 
 #define HI_GET_BITFIELD(value, start, mask) (((value) >> (start)) & (mask))
 #define HI_SET_FIELD(origin, shift, val)	((origin) |= (val) << (shift))
-- 
2.45.0.windows.1

