]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
mtd: spi-nor-ids: add Macronix mx25u51245g flash entry
authorTien Fong Chee <tien.fong.chee@intel.com>
Wed, 27 Apr 2022 03:56:28 +0000 (11:56 +0800)
committerJagan Teki <jagan@amarulasolutions.com>
Tue, 3 May 2022 12:07:39 +0000 (17:37 +0530)
Add Macronix mx25u51245g flash entry, so this can be used on
SoCFPGA devices.

Signed-off-by: Tien Fong Chee <tien.fong.chee@intel.com>
[Jagan: updated commit head]
Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
Reviewed-by: Jagan Teki <jagan@amarulasolutions.com>
drivers/mtd/spi/spi-nor-ids.c

index 393a24b31622040642bc0e5e4b086feef67f8609..7050ddc397162c5bd624259eef04572082be27e3 100644 (file)
@@ -166,6 +166,8 @@ const struct flash_info spi_nor_ids[] = {
        { INFO("mx25u6435f",  0xc22537, 0, 64 * 1024, 128, SECT_4K) },
        { INFO("mx25l12805d", 0xc22018, 0, 64 * 1024, 256, SECT_4K) },
        { INFO("mx25u12835f", 0xc22538, 0, 64 * 1024, 256, SECT_4K) },
+       { INFO("mx25u51245g", 0xc2253a, 0, 64 * 1024, 1024, SECT_4K |
+              SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ | SPI_NOR_4B_OPCODES) },
        { INFO("mx25l12855e", 0xc22618, 0, 64 * 1024, 256, 0) },
        { INFO("mx25l25635e", 0xc22019, 0, 64 * 1024, 512, SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ) },
        { INFO("mx25u25635f", 0xc22539, 0, 64 * 1024, 512, SECT_4K | SPI_NOR_4B_OPCODES) },