diff --git a/drivers/mtd/spi-nor/spi-nor.c b/drivers/mtd/spi-nor/spi-nor.c index 1413828..efc9bfd 100644 --- a/drivers/mtd/spi-nor/spi-nor.c +++ b/drivers/mtd/spi-nor/spi-nor.c @@ -935,6 +935,13 @@ static int spi_nor_is_locked(struct mtd_info *mtd, loff_t ofs, uint64_t len) { "at45db081d", INFO(0x1f2500, 0, 64 * 1024, 16, SECT_4K) }, + /* BergMicro Flashes */ + { "bg25q80", INFO(0xe04014, 0, 64 * 1024, 16, SECT_4K) }, + { "bg25q16", INFO(0xe04015, 0, 64 * 1024, 32, SECT_4K) }, + { "bg25q32", INFO(0xe04016, 0, 64 * 1024, 64, SECT_4K) }, + { "bg25q64", INFO(0xe04017, 0, 64 * 1024, 128, SECT_4K) }, + { "bg25q128", INFO(0xe04018, 0, 64 * 1024, 256, SECT_4K) }, + /* EON -- en25xxx */ { "en25f32", INFO(0x1c3116, 0, 64 * 1024, 64, SECT_4K) }, { "en25p32", INFO(0x1c2016, 0, 64 * 1024, 64, 0) },