- u-boot/drivers/mtd/spi/sf_params.c 这个文件定义了支持的nor flash
- 依据不同的型号更改配置
···
diff --git a/configs/dra7xx_evm_defconfig b/configs/dra7xx_evm_defconfig
index 128e7b2..44ae9f2 100644
--- a/configs/dra7xx_evm_defconfig
+++ b/configs/dra7xx_evm_defconfig
@@ -36,7 +36,7 @@ CONFIG_CMD_FS_GENERIC=y
CONFIG_CMD_USB_MASS_STORAGE=y
CONFIG_SPI_FLASH=y
CONFIG_SPI_FLASH_BAR=y
-CONFIG_SPI_FLASH_SPANSION=y
+CONFIG_SPI_FLASH_WINBOND=y
CONFIG_SYS_NS16550=y
CONFIG_TI_QSPI=y
CONFIG_TIMER=y
···
android uboot config nor flash