Skip to contentSkip to conversation

board/t104xRDB:remove CONFIG_SYS_FLASH_USE_BUFFER_WRITE for NOR

PATCH New Prabhakar Kushwaha 2 participants 2 messages Feb 20, 2014 – Feb 24, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 board/t104xRDB:remove CONFIG_SYS_FLASH_USE_BUFFER_WRITE for NOR

Micron NOR flash present on T1040RDB and T1042RDB_PI do not support write & read command running at same time.

CONFIG_SYS_FLASH_USE_BUFFER_WRITE reads NOR flash before performing write. So, remove CONFIG_SYS_FLASH_USE_BUFFER_WRITE

---
 include/configs/T1040RDB.h    |    1 -
 include/configs/T1042RDB_PI.h |    1 -
 2 files changed, 2 deletions(-)
include/configs/T1040RDB.h +0 -1
index fd010c0..0f79896 100644
@@ -72,7 +72,6 @@
 #else
 #define CONFIG_FLASH_CFI_DRIVER
 #define CONFIG_SYS_FLASH_CFI
-#define CONFIG_SYS_FLASH_USE_BUFFER_WRITE
 #endif
 
 #ifndef CONFIG_SYS_NO_FLASH
include/configs/T1042RDB_PI.h +0 -1
index 6d07805..76cbdea 100644
@@ -72,7 +72,6 @@
 #else
 #define CONFIG_FLASH_CFI_DRIVER
 #define CONFIG_SYS_FLASH_CFI
-#define CONFIG_SYS_FLASH_USE_BUFFER_WRITE
 #endif
 
 #ifndef CONFIG_SYS_NO_FLASH
Signature · 1 line
1.7.9.5
#1 lore raw

PATCH 1/1 board/t104xRDB:remove CONFIG_SYS_FLASH_USE_BUFFER_WRITE for NOR

Quoted 7 lines · Prabhakar Kushwaha

Micron NOR flash present on T1040RDB and T1042RDB_PI do not support write & read command running at same time.

CONFIG_SYS_FLASH_USE_BUFFER_WRITE reads NOR flash before performing write. So, remove CONFIG_SYS_FLASH_USE_BUFFER_WRITE

As reviewed internally, please find the root cause of your issue. Removing CONFIG_SYS_FLASH_USE_BUFFER_WRITE is not the right solution.

York