flashrom.c: Refactor parameters of select_erase_functions()

Replace separate parameters with a pointer to the current `walk_info`.

Change-Id: I46890589971183ca91684a8e275112d822780253
Signed-off-by: Nico Huber <nico.h@gmx.de>
Reviewed-on: https://review.coreboot.org/c/flashrom-stable/+/72557
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
1 file changed