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 43046C77B60 for ; Sun, 23 Apr 2023 18:02:50 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 03BD286098; Sun, 23 Apr 2023 20:01:46 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=intel.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=intel.com header.i=@intel.com header.b="AI0T37P6"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 26D3D8607D; Sun, 23 Apr 2023 20:01:41 +0200 (CEST) Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 42AB886058 for ; Sun, 23 Apr 2023 20:01:38 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=sin.hui.kho@intel.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1682272898; x=1713808898; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=DZ1UpFbMsFB94cSFzyC6bTRbDyw07Vd6s3tTNKzNmYI=; b=AI0T37P6eysDSf02Wcibw153eIB5ODMnocQ7RPWHwQTgZDZW1/iOW//i iZ+0hHCQyJTy0iAJs47+AIX6NEPYFjBZITkWik3nUw/kJTqDriDqq+CtZ aye8jCr0nO3BQckuYbal0MK4tcsIfwpPBmJ5QBV6eetpTlzlLh7qHQKj+ rPvFPn2a8Gtf/6+T2JVq1Vqe6bgyNUPkJHEPduTYYv1uRF034iJg8ua71 9DbumurDBpRbxmCiokAT0krbZl2JKlw6s+Ajl0XdM1qHSxThbwJVKaTV1 xf5yurjvwA9OHG/AeymNaOzU8cSyxS+ygnyF9zy7KSUVSPTy+zp5kleBr w==; X-IronPort-AV: E=McAfee;i="6600,9927,10689"; a="345060981" X-IronPort-AV: E=Sophos;i="5.99,220,1677571200"; d="scan'208";a="345060981" Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Apr 2023 11:01:37 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10689"; a="670275296" X-IronPort-AV: E=Sophos;i="5.99,220,1677571200"; d="scan'208";a="670275296" Received: from pglc00257.png.intel.com ([10.221.233.180]) by orsmga006.jf.intel.com with ESMTP; 23 Apr 2023 11:01:32 -0700 From: sin.hui.kho@intel.com To: u-boot@lists.denx.de Cc: Marek Vasut , Simon Goldschmidt , Tien Fong Chee , Sin Hui Kho , Lukasz Majewski , Sean Anderson , William Zhang , Philippe Reynes , Michal Simek , Samuel Holland , Marcel Ziswiler , =?UTF-8?q?Pali=20Roh=C3=A1r?= , Frieder Schrempf , Dinesh Maniyam , Jit Loon Lim , Teik Heng , Kok Kiang Subject: [PATCH v1 6/6] arm: socfpga: agilex7: Add base address for AGILEX7 Date: Mon, 24 Apr 2023 02:00:49 +0800 Message-Id: <20230423180049.25281-7-sin.hui.kho@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230423180049.25281-1-sin.hui.kho@intel.com> References: <20230423180049.25281-1-sin.hui.kho@intel.com> 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.8 at phobos.denx.de X-Virus-Status: Clean From: Sin Hui Kho Add base address support for AGILEX7. Reuse same base as Agilex. Signed-off-by: Sin Hui Kho --- arch/arm/mach-socfpga/include/mach/base_addr_soc64.h | 3 ++- arch/arm/mach-socfpga/include/mach/handoff_soc64.h | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/arch/arm/mach-socfpga/include/mach/base_addr_soc64.h b/arch/arm/mach-socfpga/include/mach/base_addr_soc64.h index 3f899fcfa3..eecbb037f5 100644 --- a/arch/arm/mach-socfpga/include/mach/base_addr_soc64.h +++ b/arch/arm/mach-socfpga/include/mach/base_addr_soc64.h @@ -11,7 +11,8 @@ #define SOCFPGA_HMC_MMR_IO48_ADDRESS 0xf8010000 #define SOCFPGA_SDR_ADDRESS 0xf8011000 #if IS_ENABLED(CONFIG_TARGET_SOCFPGA_AGILEX) || \ - IS_ENABLED(CONFIG_TARGET_SOCFPGA_N5X) + IS_ENABLED(CONFIG_TARGET_SOCFPGA_N5X) || \ + IS_ENABLED(CONFIG_TARGET_SOCFPGA_AGILEX7) #define SOCFPGA_FW_MPU_DDR_SCR_ADDRESS 0xf8020200 #else #define SOCFPGA_FW_MPU_DDR_SCR_ADDRESS 0xf8020100 diff --git a/arch/arm/mach-socfpga/include/mach/handoff_soc64.h b/arch/arm/mach-socfpga/include/mach/handoff_soc64.h index 902fc6bfb5..b0134dd9bd 100644 --- a/arch/arm/mach-socfpga/include/mach/handoff_soc64.h +++ b/arch/arm/mach-socfpga/include/mach/handoff_soc64.h @@ -24,7 +24,8 @@ #define SOC64_HANDOFF_SIZE 4096 #if IS_ENABLED(CONFIG_TARGET_SOCFPGA_STRATIX10) || \ - IS_ENABLED(CONFIG_TARGET_SOCFPGA_AGILEX) + IS_ENABLED(CONFIG_TARGET_SOCFPGA_AGILEX) || \ + IS_ENABLED(CONFIG_TARGET_SOCFPGA_AGILEX7) #define SOC64_HANDOFF_BASE 0xFFE3F000 #define SOC64_HANDOFF_MISC (SOC64_HANDOFF_BASE + 0x610) #elif IS_ENABLED(CONFIG_TARGET_SOCFPGA_N5X) -- 2.25.1