diff --git a/br-ext-chip-sigmastar/board/infinity3/kernel/patches/0021-add-xmc-nor-flash.patch b/br-ext-chip-sigmastar/board/infinity3/kernel/patches/0021-add-xmc-nor-flash.patch new file mode 100644 index 00000000..971868b1 --- /dev/null +++ b/br-ext-chip-sigmastar/board/infinity3/kernel/patches/0021-add-xmc-nor-flash.patch @@ -0,0 +1,15 @@ +--- a/drivers/mtd/spi-nor/spi-nor.c ++++ b/drivers/mtd/spi-nor/spi-nor.c +@@ -615,6 +615,12 @@ static const struct spi_device_id spi_nor_ids[] = { + { "m25px64", INFO(0x207117, 0, 64 * 1024, 128, 0) }, + { "m25px80", INFO(0x207114, 0, 64 * 1024, 16, 0) }, + ++ /* XMC - for BlackBird */ ++ { "xm25qh64a", INFO(0x207017, 0, 64 * 1024, 128, 0) }, ++ { "xm25qh128a", INFO(0x207018, 0, 64 * 1024, 256, 0) }, ++ { "xm25qh64b", INFO(0x206017, 0, 64 * 1024, 128, 0) }, ++ { "xm25qh128b", INFO(0x206018, 0, 64 * 1024, 256, 0) }, ++ + /* Winbond -- w25x "blocks" are 64K, "sectors" are 4KiB */ + { "w25x10", INFO(0xef3011, 0, 64 * 1024, 2, SECT_4K) }, + { "w25x20", INFO(0xef3012, 0, 64 * 1024, 4, SECT_4K) },