Hi Stefan,
these look like typos?
This is not typos. I'm verified again all documentation. The chip S25FL128S has a Device Identification like a 2018 (table 11.2 page 133) The chip S25FL256S has a Device Identification like a 0219 (table 11.2 page 133) The chip S25FL256S has a Device Identification like a 0220 (table 11.4 page 123)
+#define SPANSION_S25FL128 0x2018 +#define SPANSION_S25FL256 0x0219 +#define SPANSION_S25FL512 0x0220
It would also make sense to split your huge patch into smaller pieces
I will keep in mind for next patches.