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 967D2C636CC for ; Thu, 16 Feb 2023 03:37:46 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 49BF485AA1; Thu, 16 Feb 2023 04:37:24 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=konsulko.com header.i=@konsulko.com header.b="cysTm6sA"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 13F1685A80; Thu, 16 Feb 2023 04:37:12 +0100 (CET) Received: from mail-qt1-x835.google.com (mail-qt1-x835.google.com [IPv6:2607:f8b0:4864:20::835]) (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 0E76685A94 for ; Thu, 16 Feb 2023 04:37:03 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=trini@konsulko.com Received: by mail-qt1-x835.google.com with SMTP id v17so946228qto.3 for ; Wed, 15 Feb 2023 19:37:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=DwQ7+XMbIIcHJsZg4Ky7dYAfD8Enk1ukajnEJBJFdPY=; b=cysTm6sAhTu8AXfuDy2u/5SnEGyG7s9KD2JWj3J9Oh/O2pQn+LQ8FL0k/oYU0ERO+6 CfHzUtLn7P6yaaePTA/u25r+HPQy7SEYvfCQb9nWV5us9eWp20H/fKa4u7syXoItr2RP AJtBd+PJQbxxue/mKjSRh/zQRwD+NmwxXg408= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=DwQ7+XMbIIcHJsZg4Ky7dYAfD8Enk1ukajnEJBJFdPY=; b=ZxHx22PNQs3b8Jnf1S9QusdlBCdnrVjo9t+ipgMTJS5DgrN6NiMSs0oUyoFpTyQ477 gI6SRx595Mixx7PYleExJf9uTSnjX0fVOhrLmoE0aCbQifryATlx2Zc71A4wISai8B3Q kQ8miWLJ3uNk2uOGHUMUgB7KZZjxPw15308lS+eJ4PCCZ33xhyjC/XXPfQmCXJ2xxVeF u/DC0NZq7LxzcLrBPp881cJph/OQIeGZVXIf4NReINrWPUuGTbs6pVjtk9mTUe1TdKpT p7WPuhGk0ekuZDRR8Fy7bNZ9rLVux+9W3XBF5vtlD5ROYnztx1kStyZ9bZyOyB1ehpIt 7E+g== X-Gm-Message-State: AO0yUKU8pCFp6MCZjz5BjpSazPQkrt8tNV9L+c4rDPNRyESRtIGfoLVX VQq0LH8+4+6gtv2IzWeL/Ng4cXWJKGLhBVV8nRM= X-Google-Smtp-Source: AK7set+7gNiwB3Gr2PgprBxV6za1E6S/IVFndb3u/SpU2kZX0+NLMmk33GDWTYTPSBRwyG1lyUUzvg== X-Received: by 2002:a05:622a:24f:b0:3b8:ea00:7023 with SMTP id c15-20020a05622a024f00b003b8ea007023mr7943390qtx.19.1676518621621; Wed, 15 Feb 2023 19:37:01 -0800 (PST) Received: from bill-the-cat.lan (2603-6081-7b00-6400-2265-3a10-92ec-4b22.res6.spectrum.com. [2603:6081:7b00:6400:2265:3a10:92ec:4b22]) by smtp.gmail.com with ESMTPSA id a13-20020ac8720d000000b003b860983973sm471289qtp.60.2023.02.15.19.37.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 Feb 2023 19:37:01 -0800 (PST) From: Tom Rini To: u-boot@lists.denx.de Cc: Michal Simek Subject: [PATCH 03/13] arm: zynq: Move to select'ing ARCH_EARLY_INIT_R if we have FPGA Date: Wed, 15 Feb 2023 22:36:49 -0500 Message-Id: <20230216033659.3877684-3-trini@konsulko.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230216033659.3877684-1-trini@konsulko.com> References: <20230216033659.3877684-1-trini@konsulko.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.6 at phobos.denx.de X-Virus-Status: Clean The function arch_early_init_r only does anything on these platforms if we have FPGA (or SPL and SPL_FPGA) enabled, so move the logic to select based on that. Cc: Michal Simek Signed-off-by: Tom Rini --- arch/arm/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index 724cbdde257c..c51f15fcf465 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig @@ -1209,6 +1209,7 @@ config ARCH_VF610 config ARCH_ZYNQ bool "Xilinx Zynq based platform" select ARM_TWD_TIMER + select ARCH_EARLY_INIT_R if FPGA || (SPL && SPL_FPGA) select CLK select CLK_ZYNQ select CPU_V7A @@ -1230,7 +1231,6 @@ config ARCH_ZYNQ select SPL_TIMER if SPL select SUPPORT_SPL select TIMER - imply ARCH_EARLY_INIT_R imply BOARD_LATE_INIT imply CMD_CLK imply CMD_DM -- 2.34.1