|
@@ -225,6 +225,15 @@ init_at25040 ( struct spi_device *device ) {
|
225
|
225
|
init_spi ( device );
|
226
|
226
|
}
|
227
|
227
|
|
|
228
|
+/** ST M25P32 serial flash */
|
|
229
|
+static inline __attribute__ (( always_inline )) void
|
|
230
|
+init_m25p32 ( struct spi_device *device ) {
|
|
231
|
+ device->address_len = 24;
|
|
232
|
+ device->nvs.size = ( 4 * 1024 * 1024 );
|
|
233
|
+ device->nvs.block_size = 256;
|
|
234
|
+ init_spi ( device );
|
|
235
|
+}
|
|
236
|
+
|
228
|
237
|
/** Microchip 25XX640 serial EEPROM */
|
229
|
238
|
static inline __attribute__ (( always_inline )) void
|
230
|
239
|
init_mc25xx640 ( struct spi_device *device ) {
|