From mboxrd@z Thu Jan 1 00:00:00 1970 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 59C92C4321E for ; Sat, 5 Feb 2022 16:23:08 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 79A9A83B54; Sat, 5 Feb 2022 17:23:06 +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="EkEX2ues"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 65E0E82F73; Sat, 5 Feb 2022 17:23:04 +0100 (CET) Received: from mail-io1-xd2b.google.com (mail-io1-xd2b.google.com [IPv6:2607:f8b0:4864:20::d2b]) (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 3547583046 for ; Sat, 5 Feb 2022 17:23:01 +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-xd2b.google.com with SMTP id y84so11359071iof.0 for ; Sat, 05 Feb 2022 08:23:01 -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:mime-version :content-transfer-encoding; bh=6mixaDyzcZfSLCddSnntA1zphtp5P06uBsdmI3DWQ7Q=; b=EkEX2uesJ+GVFvfbWgmivsquuss4AFWwQ/DKrYYmDKz95ZsZWRzBKteHEMc6mTDbPd YfcKtNPEbYkn4SRQUIbZTJaZQv2IqDYnGQOW2uaJpU0503aSafs08Uclkt3YqGjYQMmq 03XiHhG3tHy9ZQFjuLhIrZjG+NKk0vGq5RVViihVjlOqyTRTVmaeq5k3TrMskQIsF3Be X/sUcPjLN1RNpufJvBDGIbB2eN1b8zNQzDKG64sbwbOhZVhYZ5pECbRtV74JvidlAvl6 rRzspQujN9yoWtYX/EWDcgRtS38NllthS6hgswoVd4OJ0hJc8DLEnsatieV78Fhdt1JH HZJg== 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:mime-version :content-transfer-encoding; bh=6mixaDyzcZfSLCddSnntA1zphtp5P06uBsdmI3DWQ7Q=; b=7SGA1jNr8ZwYNvhSLUHTqyiNdJg7kMLVS3gx4fCwfKmk4c9u+RkFXcUkM2TBW8uCBo cU2qjzu0vasMCRucRV9c50CYJSpnxu2BZpUnLwcrjTHFJ7jkpIee0KV5NUMOUwQajy00 2DQRycQaIybMTmG0Ry6uWtTHWhesawb7AWGwagAgC9bA6/iT7huuFQuFCewywZRAQxYL eTdtYkvcmJbsXL0RKaDGjhIKDgCH459hHw1Zc+edmVTYnWoslfOAGcYjXvq9MGBmnywi IfvkLtlgeTdn1XfpEVGsHudE23KHWNUYnZLzWauukoR2OdbubrZEO7tUXJyWl2gf/LGp BerA== X-Gm-Message-State: AOAM531rTES0u/0ninxhCxNvLPUWrdSKBZfYQ5QoFrOg9TcbqwPpzcHm j47hQP2z2mkeoH4mW7fr8BRIFbgHqdU= X-Google-Smtp-Source: ABdhPJzQogd6sl1dwe0NUiEE+DbsZUcQbaiYAXPcP2AAPo0h+nhgDL8zqNPkx3V/Fdld0q72MrhMjw== X-Received: by 2002:a05:6638:ecd:: with SMTP id q13mr2171974jas.297.1644078179374; Sat, 05 Feb 2022 08:22:59 -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.22.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 05 Feb 2022 08:22:58 -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 1/7] arch: mach-imx: imx8m: Add FlexSPI addresses for SPL booting Date: Sat, 5 Feb 2022 10:22:33 -0600 Message-Id: <20220205162240.854948-1-aford173@gmail.com> X-Mailer: git-send-email 2.32.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 In order to boot from FlexSPI, we need to calculate SYS_UBOOT_BASE, and the math depends on these registers. Signed-off-by: Adam Ford diff --git a/arch/arm/include/asm/arch-imx8m/imx-regs.h b/arch/arm/include/asm/arch-imx8m/imx-regs.h index b800da13a1..209114c810 100644 --- a/arch/arm/include/asm/arch-imx8m/imx-regs.h +++ b/arch/arm/include/asm/arch-imx8m/imx-regs.h @@ -48,6 +48,8 @@ #ifdef CONFIG_IMX8MM #define USDHC3_BASE_ADDR 0x30B60000 #endif +#define QSPI0_BASE_ADDR 0x30BB0000 +#define QSPI0_AMBA_BASE 0x08000000 #define TZASC_BASE_ADDR 0x32F80000 -- 2.32.0