[PATCH 1/3] mtd: spi-nor: Add support for XMC XM25QU128C

Kever Yang kever.yang at rock-chips.com
Mon Oct 23 12:11:06 CEST 2023


On 2023/10/18 05:40, Jonas Karlman wrote:
> From: Ricardo Pardini <ricardo at pardini.net>
>
> Add support for XMC XM25QU128C (128M-bit) Serial Flash memory. Used on
> the Xunlong Orange Pi 3B, 5 and 5 Plus boards.
>
> Datasheet:
> https://www.xmcwh.com/uploads/806/XM25QU128C_Ver2.0.pdf
>
> Signed-off-by: Ricardo Pardini <ricardo at pardini.net>
> [jonas at kwiboo.se: update commit message]
> Signed-off-by: Jonas Karlman <jonas at kwiboo.se>
Reviewed-by: Kever Yang <kever.yang at rock-chips.com>

Thanks,
- Kever
> ---
>   drivers/mtd/spi/spi-nor-ids.c | 1 +
>   1 file changed, 1 insertion(+)
>
> diff --git a/drivers/mtd/spi/spi-nor-ids.c b/drivers/mtd/spi/spi-nor-ids.c
> index 5c35171ffd55..392db5c99e84 100644
> --- a/drivers/mtd/spi/spi-nor-ids.c
> +++ b/drivers/mtd/spi/spi-nor-ids.c
> @@ -536,6 +536,7 @@ const struct flash_info spi_nor_ids[] = {
>   	{ INFO("XM25QH64A", 0x207017, 0, 64 * 1024, 128, SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ) },
>   	{ INFO("XM25QH64C", 0x204017, 0, 64 * 1024, 128, SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ) },
>   	{ INFO("XM25QH128A", 0x207018, 0, 64 * 1024, 256, SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ) },
> +	{ INFO("XM25QU128C", 0x204118, 0, 64 * 1024, 256, SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ) },
>   #endif
>   #ifdef CONFIG_SPI_FLASH_XTX
>   	/* XTX Technology Limited */


More information about the U-Boot mailing list