Add config CONFIG_SYS_FLASH_CFI_WIDTH as FLASH_CFI_16BIT to
fix flash writing issue on ls2088ardb platform introduced by the
commit '53879b1738'
(cfi_flash: Fix detection of 8-bit bus flash devices via address shift)

Signed-off-by: Priyanka Singh <priyanka.si...@nxp.com>
---
 include/configs/ls2080ardb.h | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/include/configs/ls2080ardb.h b/include/configs/ls2080ardb.h
index 60d99a0b37..6445193272 100644
--- a/include/configs/ls2080ardb.h
+++ b/include/configs/ls2080ardb.h
@@ -1,6 +1,6 @@
 /* SPDX-License-Identifier: GPL-2.0+ */
 /*
- * Copyright 2017, 2019-2021 NXP
+ * Copyright 2017, 2019-2022 NXP
  * Copyright 2015 Freescale Semiconductor
  */
 
@@ -77,6 +77,8 @@
 #define CONFIG_SYS_NOR_FTIM3   0x04000000
 #define CONFIG_SYS_IFC_CCR     0x01000000
 
+#define CONFIG_SYS_FLASH_CFI_WIDTH  FLASH_CFI_16BIT
+
 #ifdef CONFIG_MTD_NOR_FLASH
 #define CONFIG_SYS_FLASH_QUIET_TEST
 #define CONFIG_FLASH_SHOW_PROGRESS     45 /* count down from 45/5: 9..1 */
-- 
2.17.1

Reply via email to