@@ -43,8 +43,8 @@
#include "p9-cronus.dt.h"
#define AMI_BMC "/proc/ractrends/Helper/FwInfo"
-#define OPENFSI_BMC "/sys/bus/platform/devices/gpio-fsi/fsi0/"
-#define FSI_CFAM_ID "/sys/devices/platform/gpio-fsi/fsi0/slave@00:00/cfam_id"
+#define OPENFSI_BMC "/sys/devices/platform/ahb/ahb:apb/1e79b000.fsi/fsi0"
+#define FSI_CFAM_ID "/sys/devices/platform/ahb/ahb:apb/1e79b000.fsi/fsi0/slave@00:00/cfam_id"
#define XSCOM_BASE_PATH "/sys/kernel/debug/powerpc/scom"
#define CHIP_ID_P8 0xea
@@ -29,8 +29,8 @@
#include "operations.h"
#include "hwunit.h"
-#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"
+#define FSI_SCAN_PATH "/sys/devices/platform/ahb/ahb:apb/1e79b000.fsi/fsi0/rescan"
+#define FSI_CFAM_PATH "/sys/devices/platform/ahb/ahb:apb/1e79b000.fsi/fsi0/slave@00:00/raw"
int fsi_fd;
The paths to sysfs entries depend on the master driver used. This means pdbg needs to use a different path when running against the hardware FSI master present in the ast2600. I do not intend for this patch to be merged as-is. We do need to use this as a discussion point for a solution, probably in the kernel, that fixes this. Signed-off-by: Joel Stanley <joel@jms.id.au> --- libpdbg/dtb.c | 4 ++-- libpdbg/kernel.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-)