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 CF218C00140 for ; Wed, 24 Aug 2022 13:53:40 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 0FCA38483F; Wed, 24 Aug 2022 15:53:37 +0200 (CEST) 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="1kXE45fe"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 7C86C8483F; Wed, 24 Aug 2022 15:53:28 +0200 (CEST) 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 9A19684840 for ; Wed, 24 Aug 2022 15:53:22 +0200 (CEST) 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 AFB0CC021C; Wed, 24 Aug 2022 15:53:21 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fris.de; s=dkim; t=1661349202; h=from:subject:date:message-id:to:cc:mime-version: content-transfer-encoding:in-reply-to:references; bh=Bg0GuDKoIL2ws+2t7UjMNMsVNcySAa6WKdMS0ZMP92I=; b=1kXE45feqKTyicnnfSWILpDbbZsViMhrRv9ttDbCJBE8ee1tEeWc3mHpe6b8MW16FTwc9H BtdhvZ3NKjTd6JCQSlxU4xwWS8VekwntyjU4GMQpFgz175RhIWRDX5cKDkE1qKahj0mNjQ l6MK70/cfWfO4OuJn23T9jKux/Hri/uAiuTR7mNrUiwwoPiGcuJhCky5tfwTL34pPiPkFo Bfpz69qmkz/Me73HayA9BLm2UuwITZO93GuJoFhQ3Q1oOmLPHgtb+/J1xj/yLrb2YqPY7c k8SVa4x8QZ9Q00v8S0MAlSjVmhRJrUxHlF1uxtRwr4Z5zRjhbWIKHrAj1uwI+A== From: Frieder Schrempf To: Frieder Schrempf , u-boot@lists.denx.de Cc: Fabio Estevam , Simon Glass Subject: [PATCH v3 02/19] imx: kontron-sl-mx8mm: Add support for loading from SPI NOR in SPL Date: Wed, 24 Aug 2022 15:52:24 +0200 Message-Id: <20220824135247.1842799-3-frieder@fris.de> In-Reply-To: <20220824135247.1842799-1-frieder@fris.de> References: <20220824135247.1842799-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 This was initially enabled, but got accidentally dropped while migrating Kconfig options and resyncing the defconfig in: commit 9802154a94d6 ("configs: Resync with savedefconfig") Let's enable this again to be able to boot from SPI NOR. Signed-off-by: Frieder Schrempf Reviewed-by: Fabio Estevam --- Changes in v3: * none Changes in v2: * new patch --- configs/kontron-sl-mx8mm_defconfig | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/configs/kontron-sl-mx8mm_defconfig b/configs/kontron-sl-mx8mm_defconfig index 954818adc0e..3e71e786072 100644 --- a/configs/kontron-sl-mx8mm_defconfig +++ b/configs/kontron-sl-mx8mm_defconfig @@ -19,6 +19,8 @@ CONFIG_SPL_SERIAL=y CONFIG_SPL_DRIVERS_MISC=y CONFIG_BOOTCOUNT_BOOTLIMIT=3 CONFIG_SPL=y +CONFIG_SPL_SPI_FLASH_SUPPORT=y +CONFIG_SPL_SPI=y CONFIG_SYS_LOAD_ADDR=0x42000000 CONFIG_DISTRO_DEFAULTS=y CONFIG_FIT=y @@ -43,6 +45,8 @@ CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0x300 CONFIG_SPL_I2C=y CONFIG_SPL_DM_SPI_FLASH=y CONFIG_SPL_POWER=y +CONFIG_SPL_SPI_LOAD=y +CONFIG_SYS_SPI_U_BOOT_OFFS=0x58000 CONFIG_SPL_WATCHDOG=y CONFIG_SPL_ATF=y CONFIG_SYS_CBSIZE=256 -- 2.37.2