summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAlistair Popple <alistair@popple.id.au>2016-12-07 09:21:15 +1100
committerAlistair Popple <alistair@popple.id.au>2016-12-08 13:22:01 +1100
commitac1ba1adf55332507e4e25b7e57bbc5dda51bdca (patch)
tree15c89a1225ea0781574fed44e7059f82ea85babc /src
parent10002c7dfbd74c836f6864c5887c74ccb7e14787 (diff)
downloadpdbg-ac1ba1adf55332507e4e25b7e57bbc5dda51bdca.tar.gz
pdbg-ac1ba1adf55332507e4e25b7e57bbc5dda51bdca.zip
src/main.c: Make p9w (Witherspoon) the default FSI backend
To avoid breaking scripts make p9w the default GPIO layout for the FSI backend. Signed-off-by: Alistair Popple <alistair@popple.id.au>
Diffstat (limited to 'src')
-rw-r--r--src/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index 003dc46..05695e3 100644
--- a/src/main.c
+++ b/src/main.c
@@ -290,7 +290,7 @@ static bool parse_options(int argc, char *argv[])
opt_error = false;
if (strcmp(optarg, "fsi") == 0) {
backend = FSI;
- device_node = "";
+ device_node = "p9w";
} else if (strcmp(optarg, "i2c") == 0) {
backend = I2C;
device_node = "/dev/i2c4";
OpenPOWER on IntegriCloud