commit | ee8cf1c9c6218681f78193ba29c890bf9b7ba30a | [log] [tgz] |
---|---|---|
author | Nico Huber <nico.h@gmx.de> | Thu Jan 02 23:17:25 2025 +0100 |
committer | Nico Huber <nico.h@gmx.de> | Sun Feb 23 17:23:14 2025 +0000 |
tree | 63429fd591599bc1bd63e0007d0f648324f4dd80 | |
parent | 4e6155afd4b0e1f5cf190cdd21fa83a656c4088a [diff] [blame] |
Provide no-op probe function, always returning 1 Change-Id: Ic0567a0da29790dbde24c432f3f1d4d109156165 Signed-off-by: Nico Huber <nico.h@gmx.de> Reviewed-on: https://review.sourcearcade.org/c/flashprog/+/315
diff --git a/flashprog.c b/flashprog.c index 2520d11..80e53b9 100644 --- a/flashprog.c +++ b/flashprog.c
@@ -602,6 +602,11 @@ return ret; } +int probe_noop(struct flashctx *flash) +{ + return 1; +} + static int init_default_layout(struct flashctx *flash) { /* Fill default layout covering the whole chip. */