spi25: Extract 4BA preparations into new `spi25_prepare.c`
We will have more preparation steps for fast-read operations and
QPI in the future. Better start a new file, as `spi25.c` already
is rather long.
Change-Id: I253b270ce6796fb09e6d74903bd65a6fbc06c7d6
Signed-off-by: Nico Huber <nico.h@gmx.de>
Reviewed-on: https://review.sourcearcade.org/c/flashprog/+/162
Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
diff --git a/Makefile b/Makefile
index 6d993e7..c3bf071 100644
--- a/Makefile
+++ b/Makefile
@@ -386,7 +386,8 @@
CHIP_OBJS = memory_bus.o jedec.o stm50.o w39.o w29ee011.o \
sst28sf040.o 82802ab.o \
- sst49lfxxxc.o sst_fwhub.o edi.o flashchips.o spi.o spi25.o spi25_statusreg.o \
+ sst49lfxxxc.o sst_fwhub.o edi.o flashchips.o \
+ spi.o spi25.o spi25_prepare.o spi25_statusreg.o \
spi95.o opaque.o sfdp.o en29lv640b.o at45db.o \
writeprotect.o writeprotect_ranges.o