10 comments:
Patch Set #2, Line 24: #include "writeprotect.h" /* for modifier_bits */
I don't think this is needed in this commit for adding the chip initial support.
* s25f.c - Helper functions for Spansion S25FL and S25FS SPI flash chips.
* Uses 24 bit addressing for the FS chips and 32 bit addressing for the FL
* chips (which is required by the overlayed sector size devices).
* TODO: Implement fancy hybrid sector architecture helpers.
separate out comment from license header.
Patch Set #2, Line 43: #include "hwaccess.h"
is this needed?
Patch Set #2, Line 45: #include "writeprotect.h"
ditto.
unsigned char read_cr_cmd[] = {
CMD_RDAR,
(addr >> 16) & 0xff,
(addr >> 8) & 0xff,
(addr & 0xff),
0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00,
};
looks like these various cmd blocks though the file are badly formatted. Please make it consistent with the rest of flashrom such as in spi25.c as an example I guess.
= 0;
Patch Set #2, Line 494: if (!ret) {
invert the ret check logic to avoid such a big block under a if branch.
```
if (ret)
return ret;
```
Patch Set #2, Line 531: return
ret =
Patch Set #2, Line 531: return
ret =
ret
To view, visit change 46140. To unsubscribe, or for help writing mail filters, visit settings.