Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id E8613C4332F for ; Mon, 14 Nov 2022 12:02:10 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 4E5BA82F69; Mon, 14 Nov 2022 13:02:08 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=quarantine dis=none) header.from=fris.de Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=fris.de header.i=@fris.de header.b="jMXs+/UD"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 013DE82F69; Mon, 14 Nov 2022 13:02:05 +0100 (CET) Received: from mail.fris.de (mail.fris.de [116.203.77.234]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 91A0E82F69 for ; Mon, 14 Nov 2022 13:02:03 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=quarantine dis=none) header.from=fris.de Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=frieder@fris.de Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id 9D5DCC0129; Mon, 14 Nov 2022 13:02:00 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fris.de; s=dkim; t=1668427322; h=from:subject:date:message-id:to:cc:mime-version: content-transfer-encoding; bh=fEMjhwn/Rsrd6kSlgihoBWo4FFZ41+spNkNbiLM5j4o=; b=jMXs+/UDgpAcNWZCPadBlol2esaORpJsiDfjl/fZ0onA9GmToH2I3/KjS9mpZ7rNOPgUqv 0ZglAAs3EA6GRXnHAgbdldo/+mL9p2DSfqO5dwLUKoTX9lPzzD0rDIec/Qh/tDs2q5iZcK CczW/qhk1f/mii6Qhry/hG2oGTXVoZvGbvclA6hn6S4hegzXeSwnWaeXqQqwnJvXE2PSuG wj2Rfhq8ndpvL+5/U7ZpsKtWtR/l4V+PXesDA9+fBqQAb6CnpXNduU2VuJlhPOX0/ne/XR uCimck41+VbP2oYjCfHRcOixLJ5DNJ9X+uX1ZPJJAh2DUoiaGpSBwhd2EHRqSg== From: Frieder Schrempf To: Stefano Babic , Fabio Estevam , Ashish Kumar , Frieder Schrempf , Kuldeep Singh , u-boot@lists.denx.de, Ye Li Cc: Andrew Davis Subject: [PATCH] imx: imx6ul: kontron-sl-mx6ul: Disable CONFIG_FSL_QSPI_AHB_FULL_MAP to fix SPI NAND read access Date: Mon, 14 Nov 2022 13:01:38 +0100 Message-Id: <20221114120138.550445-1-frieder@fris.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Last-TLS-Session-Version: TLSv1.3 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.6 at phobos.denx.de X-Virus-Status: Clean From: Frieder Schrempf The introduction of CONFIG_FSL_QSPI_AHB_FULL_MAP as default in: def88bce094e ("spi: fsl_qspi: Support to use full AHB space on i.MX") broke the SPI NAND read access on the Kontron SL i.MX6UL/ULL boards. Reading data from the flash returns garbage instead of the actual content. Fix this for now by disabling the introduced option. In the long run this should be fixed globally. Fixes: def88bce094e ("spi: fsl_qspi: Support to use full AHB space on i.MX") Signed-off-by: Frieder Schrempf --- configs/kontron-sl-mx6ul_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/kontron-sl-mx6ul_defconfig b/configs/kontron-sl-mx6ul_defconfig index aa789fc6e5e..db4b684690f 100644 --- a/configs/kontron-sl-mx6ul_defconfig +++ b/configs/kontron-sl-mx6ul_defconfig @@ -95,6 +95,7 @@ CONFIG_MXC_UART=y CONFIG_SPI=y CONFIG_DM_SPI=y CONFIG_FSL_QSPI=y +# CONFIG_FSL_QSPI_AHB_FULL_MAP is not set CONFIG_MXC_SPI=y CONFIG_IMX_THERMAL=y CONFIG_USB=y -- 2.38.1