summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDeepak Kodihalli <dkodihal@in.ibm.com>2017-08-16 03:15:51 -0500
committerPatrick Williams <patrick@stwcx.xyz>2017-08-23 14:27:52 +0000
commitfff3da49d28320678a836e1b1d741283a6bc0dd2 (patch)
treecba8ec03192657539ead109cdd41a4b458b211ac
parent8abfe30804efe85b933ded9d95d5b95257065a1b (diff)
downloadphosphor-mrw-tools-fff3da49d28320678a836e1b1d741283a6bc0dd2.tar.gz
phosphor-mrw-tools-fff3da49d28320678a836e1b1d741283a6bc0dd2.zip
callouts script: fsi path fixups
Fix up paths as per 4.10 Linux kernel. This change will fix broken inventory path error log callouts. Resolves openbmc/openbmc#2103. Change-Id: I0406e39c720fb4316f3b58869d067a1dfe6cf620 Signed-off-by: Deepak Kodihalli <dkodihal@in.ibm.com>
-rwxr-xr-xgen_callouts.pl6
1 files changed, 3 insertions, 3 deletions
diff --git a/gen_callouts.pl b/gen_callouts.pl
index 7e0b9e1..5398aa5 100755
--- a/gen_callouts.pl
+++ b/gen_callouts.pl
@@ -36,9 +36,9 @@ my @inventory = Inventory::getInventory($targets);
# paths
-my $i2cPath = "/sys/devices/platform/ahb/ahb:apb/1e78a000.i2c/i2c-<port>/i2c-<port>/<port>-00<address>";
-my $fsiMasterPath = "/sys/devices/platform/fsi-master/slave\@00:00";
-my $fsiSlavePath = "/sys/devices/hub\@00/slave\@<link>:00";
+my $i2cPath = "/sys/devices/platform/ahb/ahb:apb/ahb:apb:i2c\@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";
open(my $fh, '>', $outFile) or die "Could not open file '$outFile' $!";
OpenPOWER on IntegriCloud