diff options
author | Evan Lojewski <github@meklort.com> | 2020-11-01 14:46:12 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-01 14:46:12 -0700 |
commit | 08feb38f78e92ecfbb09578024b7a60b44f2ac51 (patch) | |
tree | 6b2288a1cfa30b1fb07980cdf5b6651c32ece057 | |
parent | 729709bc91c48c4f1d833e4f58aa9f5fb76f5d8d (diff) | |
download | bcm5719-ortega-08feb38f78e92ecfbb09578024b7a60b44f2ac51.tar.gz bcm5719-ortega-08feb38f78e92ecfbb09578024b7a60b44f2ac51.zip |
bcmflash: Print SMBus information. (#159)
-rw-r--r-- | utils/bcmflash/main.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/utils/bcmflash/main.cpp b/utils/bcmflash/main.cpp index c6e04bc..6bb34a9 100644 --- a/utils/bcmflash/main.cpp +++ b/utils/bcmflash/main.cpp @@ -372,6 +372,10 @@ void dump_info(NVRAMInfo_t *info, NVRAMInfo2_t *info2) printf("Feature: 0x%08X\n", be32toh(info2->func3CfgFeature)); printf("Cfg: 0x%08X\n", be32toh(info2->func3CfgHW)); printf("Cfg2: 0x%08X\n", be32toh(info2->func3CfgHW2)); + + printf("\n=== SMBus ===\n"); + printf("Device Address: 0x%02X\n", info->SMBusAddr); + printf("BMC Address: 0x%02X\n", info->SMBusAddrBMC); } void dump_vpd(uint8_t *vpd, size_t vpd_len) |