From 7970779cfa59b94923e00b3f2898da0badbd4bcf Mon Sep 17 00:00:00 2001 From: Joel Stanley Date: Thu, 6 Jul 2017 14:36:22 +0930 Subject: 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 --- libpdbg/kernel.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libpdbg') 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; -- cgit v1.2.1