diff mbox series

[U-Boot] configs/ls1046ardb_*: disable CONFIG_SPI_FLASH_USE_4K_SECTORS

Message ID 1559334658-18752-1-git-send-email-maciej.pijanowski@3mdeb.com
State Accepted
Commit fd90b6d5ab20ce321eef7b68696d064efb2f5063
Delegated to: Prabhakar Kushwaha
Headers show
Series [U-Boot] configs/ls1046ardb_*: disable CONFIG_SPI_FLASH_USE_4K_SECTORS | expand

Commit Message

Maciej Pijanowski May 31, 2019, 8:30 p.m. UTC
With this setting enabled, the on-board QSPI cannot be
properly flashed. There are no error messages, but the simple
write / read / compare tests fail.

This is already disabled in the qspi and tfa defconfigs for the
LS1046ARDB platform.

Signed-off-by: Maciej Pijanowski <maciej.pijanowski@3mdeb.com>

Cc: prabhakar.kushwaha@nxp.com
Cc: piotr.krol@3mdeb.com
---
 configs/ls1046ardb_emmc_defconfig               | 1 +
 configs/ls1046ardb_qspi_spl_defconfig           | 1 +
 configs/ls1046ardb_sdcard_SECURE_BOOT_defconfig | 1 +
 configs/ls1046ardb_sdcard_defconfig             | 1 +
 4 files changed, 4 insertions(+)

Comments

Prabhakar Kushwaha June 19, 2019, 11:43 a.m. UTC | #1
> -----Original Message-----
> From: Maciej Pijanowski <maciej.pijanowski@3mdeb.com>
> Sent: Saturday, June 1, 2019 2:01 AM
> To: u-boot@lists.denx.de
> Cc: piotr.krol@3mdeb.com; Maciej Pijanowski
> <maciej.pijanowski@3mdeb.com>; Prabhakar Kushwaha
> <prabhakar.kushwaha@nxp.com>
> Subject: [PATCH] configs/ls1046ardb_*: disable
> CONFIG_SPI_FLASH_USE_4K_SECTORS
> 
> With this setting enabled, the on-board QSPI cannot be properly flashed. There
> are no error messages, but the simple write / read / compare tests fail.
> 
> This is already disabled in the qspi and tfa defconfigs for the LS1046ARDB
> platform.
> 
> Signed-off-by: Maciej Pijanowski <maciej.pijanowski@3mdeb.com>
> 
> Cc: prabhakar.kushwaha@nxp.com
> Cc: piotr.krol@3mdeb.com
> ---

This patch has been applied to fsl-qoriq master, awaiting upstream.

--pk
diff mbox series

Patch

diff --git a/configs/ls1046ardb_emmc_defconfig b/configs/ls1046ardb_emmc_defconfig
index 2c7cc09f80d8..e6c14822c48e 100644
--- a/configs/ls1046ardb_emmc_defconfig
+++ b/configs/ls1046ardb_emmc_defconfig
@@ -49,6 +49,7 @@  CONFIG_DM_MMC=y
 CONFIG_FSL_ESDHC=y
 CONFIG_SPI_FLASH=y
 # CONFIG_SPI_FLASH_BAR is not set
+# CONFIG_SPI_FLASH_USE_4K_SECTORS is not set
 CONFIG_PHYLIB=y
 CONFIG_PHY_AQUANTIA=y
 CONFIG_E1000=y
diff --git a/configs/ls1046ardb_qspi_spl_defconfig b/configs/ls1046ardb_qspi_spl_defconfig
index a4038b8d2975..6326c47cdbb5 100644
--- a/configs/ls1046ardb_qspi_spl_defconfig
+++ b/configs/ls1046ardb_qspi_spl_defconfig
@@ -52,6 +52,7 @@  CONFIG_DM_MMC=y
 CONFIG_FSL_ESDHC=y
 CONFIG_SPI_FLASH=y
 # CONFIG_SPI_FLASH_BAR is not set
+# CONFIG_SPI_FLASH_USE_4K_SECTORS is not set
 CONFIG_PHYLIB=y
 CONFIG_PHY_GIGE=y
 CONFIG_E1000=y
diff --git a/configs/ls1046ardb_sdcard_SECURE_BOOT_defconfig b/configs/ls1046ardb_sdcard_SECURE_BOOT_defconfig
index 2d7ace61ae26..77a28ccd6eca 100644
--- a/configs/ls1046ardb_sdcard_SECURE_BOOT_defconfig
+++ b/configs/ls1046ardb_sdcard_SECURE_BOOT_defconfig
@@ -46,6 +46,7 @@  CONFIG_SPL_DM=y
 CONFIG_FSL_ESDHC=y
 CONFIG_SPI_FLASH=y
 # CONFIG_SPI_FLASH_BAR is not set
+# CONFIG_SPI_FLASH_USE_4K_SECTORS is not set
 CONFIG_PHYLIB=y
 CONFIG_PHY_AQUANTIA=y
 CONFIG_E1000=y
diff --git a/configs/ls1046ardb_sdcard_defconfig b/configs/ls1046ardb_sdcard_defconfig
index b70a82b49184..d50207a3e66e 100644
--- a/configs/ls1046ardb_sdcard_defconfig
+++ b/configs/ls1046ardb_sdcard_defconfig
@@ -48,6 +48,7 @@  CONFIG_DM_MMC=y
 CONFIG_FSL_ESDHC=y
 CONFIG_SPI_FLASH=y
 # CONFIG_SPI_FLASH_BAR is not set
+# CONFIG_SPI_FLASH_USE_4K_SECTORS is not set
 CONFIG_PHYLIB=y
 CONFIG_PHY_AQUANTIA=y
 CONFIG_E1000=y