Hello Andranux, Thank you for sending a patch! I have one thing to say. We are doing all the patches and code reviews via the Gerrit tool. Would you be able to push your patch to Gerrit? It is not a problem if you haven't used it before, we have documentation which explains basics how to do it: https://flashrom.org/dev_guide/development_guide.html#working-with-gerrit
There is no way around: if the patch is on the mailing list, someone needs to push it to Gerrit for review. If you could do it, it would be ideal - then you are an author of commit in git, and sign-off your work. What do you think? Thanks in advance! On Fri, Jun 6, 2025 at 11:58 PM Andranux via flashrom <flashrom@flashrom.org> wrote: > > I tested with an "ch341a" usb adapter. > I was able to read, erase and write successfully. > > Change-Id: I89bcad8dee520bcab0df18fa094faba1b0ff3a1d > Signed-off-by: Andranux <andreas_cod...@gmx.de> > --- > flashchips/eon.c | 41 +++++++++++++++++++++++++++++++++++++++++ > include/flashchips.h | 1 + > 2 files changed, 42 insertions(+) > > diff --git a/flashchips/eon.c b/flashchips/eon.c > index 921eb564..a167328a 100644 > --- a/flashchips/eon.c > +++ b/flashchips/eon.c > @@ -1578,6 +1578,47 @@ > .voltage = {2700, 3600}, > }, > > + { > + .vendor = "Eon", > + .name = "EN25QX128A", > + .bustype = BUS_SPI, > + .manufacture_id = EON_ID_NOPREFIX, > + .model_id = EON_EN25QX128A, > + .total_size = 16384, > + .page_size = 256, > + /* supports SFDP */ > + /* OTP: 512B total; enter 0x?? */ > + /* QPI enable 0x38, disable 0xFF */ > + .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP | > FEATURE_QPI, > + .tested = TEST_OK_PREW, > + .probe = PROBE_SPI_RDID, > + .probe_timing = TIMING_ZERO, > + .block_erasers = > + { > + { > + .eraseblocks = { {4 * 1024, 4096} }, > + .block_erase = SPI_BLOCK_ERASE_20, > + }, { > + .eraseblocks = { {32 * 1024, 512} }, > + .block_erase = SPI_BLOCK_ERASE_52, > + }, { > + .eraseblocks = { {64 * 1024, 256} }, > + .block_erase = SPI_BLOCK_ERASE_D8, > + }, { > + .eraseblocks = { {16 * 1024 * 1024, 1} }, > + .block_erase = SPI_BLOCK_ERASE_60, > + }, { > + .eraseblocks = { {16 * 1024 * 1024, 1} }, > + .block_erase = SPI_BLOCK_ERASE_C7, > + } > + }, > + .printlock = SPI_PRETTYPRINT_STATUS_REGISTER_BP3_SRWD, > /* bit6 is quad enable */ > + .unlock = SPI_DISABLE_BLOCKPROTECT_BP3_SRWD, > + .write = SPI_CHIP_WRITE256, > + .read = SPI_CHIP_READ, > + .voltage = {2700, 3600}, > + }, > + > { > .vendor = "Eon", > .name = "EN25S10", > diff --git a/include/flashchips.h b/include/flashchips.h > index 49ef8c7f..fb1be827 100644 > --- a/include/flashchips.h > +++ b/include/flashchips.h > @@ -298,6 +298,7 @@ > #define EON_EN25QH64 0x7017 > #define EON_EN25QH128 0x7018 > #define EON_EN25QH256 0x7019 > +#define EON_EN25QX128A 0x7118 > #define EON_EN25S10 0x3811 > #define EON_EN25S20 0x3812 > #define EON_EN25S40 0x3813 > -- > 2.49.0 > > _______________________________________________ > flashrom mailing list -- flashrom@flashrom.org > To unsubscribe send an email to flashrom-le...@flashrom.org -- Anastasia. _______________________________________________ flashrom mailing list -- flashrom@flashrom.org To unsubscribe send an email to flashrom-le...@flashrom.org