This issue occurs because N25Q128A13(3.3V) has a different ID Code than N25Q128A11(1.8V) ( the one used on the ZC702 ).
N25Q128A13 -> 0x20BA1810
N25Q128A11 -> 0x20BB1810
In order to use N25Q128A13 in a design, the U-Boot code must be modified to consider the different ID Codes.
Patch
Modify u-boot-xarm.git/drivers/mtd/spi/stmicro.c to:
1. Include the define for the 3V3 model
#define STM_ID_N25Q128 0x20BB1810 #define STM_ID_N25Q128_3V 0x20BA1810
2. Add the entry for the 3V3 model
* This entry detects N25Q128 at 3V */ { .idcode1 = STM_ID_M25P128, .idcode = STM_ID_N25Q128_3V, .page_size = 256, .pages_per_sector = 256, #ifdef CONFIG_XILINX_PSS_QSPI_USE_DUAL_FLASH .nr_sectors = 512, .name = "N25Q128x2", #else .nr_sectors = 256, .name = "N25Q128", #endif },
AR# 51209 | |
---|---|
日期 | 09/16/2013 |
状态 | Active |
Type | 已知问题 |
器件 | |
Tools |