diff options
author | Vladimir Vid <vladimir.vid@sartura.hr> | 2019-10-25 17:46:41 +0200 |
---|---|---|
committer | Hauke Mehrtens <hauke@hauke-m.de> | 2019-11-01 21:19:40 +0100 |
commit | b2fdfe07276bf980bf2a50ef0093639d96d356dc (patch) | |
tree | c9d5f23e63126d0f7a2abc850bde033e7819ccd3 /package | |
parent | 57ff06405e09ebce705c01178143c3ce907993b2 (diff) | |
download | upstream-b2fdfe07276bf980bf2a50ef0093639d96d356dc.tar.gz upstream-b2fdfe07276bf980bf2a50ef0093639d96d356dc.tar.bz2 upstream-b2fdfe07276bf980bf2a50ef0093639d96d356dc.zip |
uboot-mvebu: add support for Macronix mx25u12835f flash
Some of A3700 boards use mx25u12835f, specifically uDPU and ESPRESSObin v7.
Signed-off-by: Vladimir Vid <vladimir.vid@sartura.hr>
Diffstat (limited to 'package')
-rw-r--r-- | package/boot/uboot-mvebu/patches/100-add_support_for_macronix_mx25u12835f.patch | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/package/boot/uboot-mvebu/patches/100-add_support_for_macronix_mx25u12835f.patch b/package/boot/uboot-mvebu/patches/100-add_support_for_macronix_mx25u12835f.patch new file mode 100644 index 0000000000..79b1b66e76 --- /dev/null +++ b/package/boot/uboot-mvebu/patches/100-add_support_for_macronix_mx25u12835f.patch @@ -0,0 +1,10 @@ +--- a/drivers/mtd/spi/spi-nor-ids.c ++++ b/drivers/mtd/spi/spi-nor-ids.c +@@ -136,6 +136,7 @@ const struct flash_info spi_nor_ids[] = + { INFO("mx25u1635e", 0xc22535, 0, 64 * 1024, 32, SECT_4K) }, + { INFO("mx25u6435f", 0xc22537, 0, 64 * 1024, 128, SECT_4K) }, + { INFO("mx25l12805d", 0xc22018, 0, 64 * 1024, 256, 0) }, ++ { INFO("mx25u12835f", 0xc22538, 0, 64 * 1024, 256, SECT_4K) }, + { 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) }, |