diff options
author | Joel Stanley <joel@jms.id.au> | 2017-07-06 14:36:22 +0930 |
---|---|---|
committer | Alistair Popple <alistair@popple.id.au> | 2017-07-07 11:30:57 +1000 |
commit | 7970779cfa59b94923e00b3f2898da0badbd4bcf (patch) | |
tree | ffa0c21953a6a14cab2e807b0ed6f69880eb96f5 /libpdbg | |
parent | 015bc0ed192249bee1f3d95e38aa0cc244b3f3f0 (diff) | |
download | pdbg-7970779cfa59b94923e00b3f2898da0badbd4bcf.tar.gz pdbg-7970779cfa59b94923e00b3f2898da0badbd4bcf.zip |
kernel: Fix paths for upstream kernel fsi driver
While this may break users of the old kernel driver ABI, in reality they
are already broken since d4f73e9be635 ("Reads and writes to the FSI bus
are in bus-endian format, so we need to convert.") which hardcodes the
modern ABI's endian requirements.
Signed-off-by: Joel Stanley <joel@jms.id.au>
Diffstat (limited to 'libpdbg')
-rw-r--r-- | libpdbg/kernel.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libpdbg/kernel.c b/libpdbg/kernel.c index b5b42da..7c05b90 100644 --- a/libpdbg/kernel.c +++ b/libpdbg/kernel.c @@ -29,8 +29,8 @@ #include "operations.h" #include "target.h" -#define FSI_SCAN_PATH "/sys/devices/platform/fsi-master/scan" -#define FSI_CFAM_PATH "/sys/devices/platform/fsi-master/slave@00:00/raw" +#define FSI_SCAN_PATH "/sys/bus/platform/devices/gpio-fsi/fsi0/rescan" +#define FSI_CFAM_PATH "/sys/devices/platform/gpio-fsi/fsi0/slave@00:00/raw" int fsi_fd; |