summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatt Spinler <spinler@us.ibm.com>2019-03-21 14:33:51 -0500
committerMatt Spinler <spinler@us.ibm.com>2019-03-22 10:35:31 -0500
commit605b2e9cc42d6f805ce26fe152ed529c040f29d5 (patch)
tree70123b8d5b6a7f175987d66fb1c7f56e17fb32a4
parent5dd783bfab6c73851fa31d50e6184a9511f20bcd (diff)
downloadphosphor-mrw-tools-605b2e9cc42d6f805ce26fe152ed529c040f29d5.zip
phosphor-mrw-tools-605b2e9cc42d6f805ce26fe152ed529c040f29d5.tar.gz
Fix callout I2C path
In the 5.0 Linux kernel, an I2C device path segment changed: i2c@1e78a000 -> bus@1e78a000 Signed-off-by: Matt Spinler <spinler@us.ibm.com> Change-Id: I6eec4ca9d570d7c6eceac0338c88967a78907b48
-rwxr-xr-xgen_callouts.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/gen_callouts.pl b/gen_callouts.pl
index 5398aa5..5083557 100755
--- a/gen_callouts.pl
+++ b/gen_callouts.pl
@@ -36,7 +36,7 @@ my @inventory = Inventory::getInventory($targets);
# paths
-my $i2cPath = "/sys/devices/platform/ahb/ahb:apb/ahb:apb:i2c\@1e78a000/1e78a100.i2c-bus/i2c-<port>/<port>-00<address>";
+my $i2cPath = "/sys/devices/platform/ahb/ahb:apb/ahb:apb:bus\@1e78a000/1e78a100.i2c-bus/i2c-<port>/<port>-00<address>";
my $fsiMasterPath = "/sys/devices/platform/gpio-fsi/fsi0/slave\@00:00/raw";
my $fsiSlavePath = "/sys/devices/platform/gpio-fsi/fsi0/slave\@00:00/00:00:00:0a/fsi1/slave\@<link>:00/raw";
OpenPOWER on IntegriCloud