1 // SPDX-License-Identifier: GPL-2.0 2 /* 3 * Copyright (c) 2022 Rockchip Electronics Co., Ltd. 4 */ 5 6 #include <linux/mtd/spi-nor.h> 7 8 #include "core.h" 9 10 static const struct flash_info boya_parts[] = { 11 { "BY25Q256FSEIG", INFO(0x684919, 0, 64 * 1024, 512, SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ | SPI_NOR_4B_OPCODES) }, 12 }; 13 14 const struct spi_nor_manufacturer spi_nor_boya = { 15 .name = "boya", 16 .parts = boya_parts, 17 .nparts = ARRAY_SIZE(boya_parts), 18 }; 19