From patchwork Sat Feb 5 16:22:35 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adam Ford X-Patchwork-Id: 1588801 X-Patchwork-Delegate: sbabic@denx.de Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20210112 header.b=ZWPs2kcx; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Received: from phobos.denx.de (phobos.denx.de [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4Jrd4j6zvHz9s8s for ; Sun, 6 Feb 2022 03:23:33 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 0AA9F83B65; Sat, 5 Feb 2022 17:23:11 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com 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=gmail.com header.i=@gmail.com header.b="ZWPs2kcx"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id ADDA383B4D; Sat, 5 Feb 2022 17:23:07 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.2 Received: from mail-io1-xd2f.google.com (mail-io1-xd2f.google.com [IPv6:2607:f8b0:4864:20::d2f]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 0319283B58 for ; Sat, 5 Feb 2022 17:23:04 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=aford173@gmail.com Received: by mail-io1-xd2f.google.com with SMTP id r144so11253804iod.9 for ; Sat, 05 Feb 2022 08:23:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=uwnOVCFANF+F5JBcfvwZpjIYrhul6S4ueXjK+XvHKSU=; b=ZWPs2kcxpxQx/g1TC12DShVuUtPsPTqsFaOPNvuirNfWzu+5akELCSydmN/ARTrQKg KUcUMLKu831yn9LyMiDGYIOzpgH3WgNG6ZZwsy85cEuIaI8qq+BBrvQc4j4guhmHHyeB 3Gj3GX4wAc7p9liCU+mwQUX3/xoyf16ecCvYB4od561TqFJXFFXNeOG/6orEPCs6Xjjf VWYouR2s6O2Vz2LJ8IJKV7yU1dZT75QBeciJ4T8gqPXaGr5JgTIPfZibxlbBcqthYHr+ 71VrIJe2FCIEZqk21jHba5X7aCnaDNOhrCOceJsR/wSHRy9EyZHakAWz9Y4ot0WeJ/N1 wKIQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=uwnOVCFANF+F5JBcfvwZpjIYrhul6S4ueXjK+XvHKSU=; b=pFUkN1ZjT9WcLt1hGVGrS3CvHvBqRvu2z7CdzJ9PS5unGmADCm/xLRpadB82It0V/v UZPvc/h1Y/o22kJ8SgBcFVgLZ0X4zEBxn/hQ7T6icwjt76B/ew+mccTJwHfbvXp0MuKF k067Bh3mq2Llfs2Y+6Z/ToZOMSEemT/op2g1hIUlyHtG9Z67RktNjBSqupkXkW6rl8uI ZGYMO/9rLrHZ+2dVPp9C78sqrS1iI/g2ND+PaYFqC3bAEpZrUTz6Ph0by5tEFGQPg33k L4YFzV+YS9TSxHi1uVyJATZZNfNCfq/vT7boVZoFK8nDwsJd3ZBUWnlPj0MfhsbahgVA nL+g== X-Gm-Message-State: AOAM531Bq75LqkyEtB8UTEARFrH94HKCkZ+pj4pUhsyV6s0BSANU4N9X 8o2EYGdUDhof8X+nepl8Z/rDzgGDhpk= X-Google-Smtp-Source: ABdhPJyIf2tgE4gnVSPYh5TMuAiYpFq7+6aU7VZuwFwF1SPrBeuXA1rTgiLlo0o2Ej+0EiV37eKRqw== X-Received: by 2002:a5d:88c1:: with SMTP id i1mr1936893iol.154.1644078182382; Sat, 05 Feb 2022 08:23:02 -0800 (PST) Received: from aford-IdeaCentre-A730.lan ([2601:448:8400:9e8:3c7c:8f64:a6ca:72d3]) by smtp.gmail.com with ESMTPSA id i10sm2598543ilv.86.2022.02.05.08.23.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 05 Feb 2022 08:23:01 -0800 (PST) From: Adam Ford To: u-boot@lists.denx.de Cc: marcel.ziswiler@toradex.com, tharvey@gateworks.com, Adam Ford , Stefano Babic , Fabio Estevam , "NXP i.MX U-Boot Team" Subject: [PATCH 3/7] imx8m: add image cfg for i.MX8MM FlexSPI booting Date: Sat, 5 Feb 2022 10:22:35 -0600 Message-Id: <20220205162240.854948-3-aford173@gmail.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20220205162240.854948-1-aford173@gmail.com> References: <20220205162240.854948-1-aford173@gmail.com> MIME-Version: 1.0 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.5 at phobos.denx.de X-Virus-Status: Clean The imx8m mini can boot from FlexSPI, but it changes the BOOT_FROM and LOADER addresses, so a different cfg file is needed to generate images to boot from FlexSPI. Signed-off-by: Adam Ford diff --git a/arch/arm/mach-imx/imx8m/imximage-8mm-flexspi-lpddr4.cfg b/arch/arm/mach-imx/imx8m/imximage-8mm-flexspi-lpddr4.cfg new file mode 100644 index 0000000000..ddcbd11eea --- /dev/null +++ b/arch/arm/mach-imx/imx8m/imximage-8mm-flexspi-lpddr4.cfg @@ -0,0 +1,9 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ +/* + * Copyright 2021 NXP + */ + +#define __ASSEMBLY__ + +BOOT_FROM fspi +LOADER u-boot-spl-ddr.bin 0x7E2000