From patchwork Thu Feb 16 03:36:47 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tom Rini X-Patchwork-Id: 1743284 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.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=) Authentication-Results: legolas.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=konsulko.com header.i=@konsulko.com header.a=rsa-sha256 header.s=google header.b=n6mL3/Xk; dkim-atps=neutral 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 ECDSA (P-384) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4PHLH24SJ9z23j7 for ; Thu, 16 Feb 2023 14:37:18 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id A177985A9B; Thu, 16 Feb 2023 04:37:10 +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="n6mL3/Xk"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id D134385A75; Thu, 16 Feb 2023 04:37: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=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-qt1-x82c.google.com (mail-qt1-x82c.google.com [IPv6:2607:f8b0:4864:20::82c]) (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 D79AE85A75 for ; Thu, 16 Feb 2023 04:37:01 +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-x82c.google.com with SMTP id q13so950830qtx.2 for ; Wed, 15 Feb 2023 19:37:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:from:to:cc:subject:date:message-id:reply-to; bh=8x3wOG0DKfT3XNYwM+ApWyXej2L+z09R2/TRmFOIxdY=; b=n6mL3/XkCrEGe1mQtqaCTga0Q0ue+8FRCI5uczNt05hDLdPssuKBSwor7oA7KgSVeO Pcni3m/vAi/jLRpDR/dpQK7YQ+iW/mcHMnb0bTPGUkD+LrvSHBNEgh35Xlaf54CluZC/ 6a1b+bj/WN8dwDV/dkyag3/9sEqO3yKAumcVU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=8x3wOG0DKfT3XNYwM+ApWyXej2L+z09R2/TRmFOIxdY=; b=Nr5kFIDLmgikk6386dZkfY28Jgdi8v9A/zTziClozvEygXdHLsAuqTXmaU78EdXLkl /OKVhySNC+bU/kFxLnVsBrGnIhdGJGxnN8pyLTBCNebs6GRoCQUSjx97eF6p5ZyfFAos ZcFgYbFVz1E2iW9wibkeu78yVUfm3zC4mtVy8vuXlFAkr/05wa72ifkCa+X9qEIdjvy6 fiSFu3gyWAxys8Z6OCXZhtUYcmNbsInfAC1LqPuMsC5Tiuq4iOlyxpTqOnQOc4rIOQG6 yCzEhTudQf/KKfFRGs02bMSlf+6bZEP603bp+REUM3PbYPYUT220PQkoJDVQEJaiXdfr drJg== X-Gm-Message-State: AO0yUKVjNAdm0AleKB1NAYl8yGioJ8Q3dqpqaR9sge6Au+TSgF8GcjpQ RN3mKu6KFYMFNbV44Rfrsn5DZI2HQtox5wXUM80= X-Google-Smtp-Source: AK7set9w6hbk0kA2hQKYb5q75Y3gkqAzPjbladSiMXxVnfehB6g0x333IItBI1d61m+KWRY6xfEgrQ== X-Received: by 2002:ac8:5e0b:0:b0:3af:ba3b:db80 with SMTP id h11-20020ac85e0b000000b003afba3bdb80mr7214625qtx.33.1676518620438; Wed, 15 Feb 2023 19:37:00 -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.00 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 Feb 2023 19:37:00 -0800 (PST) From: Tom Rini To: u-boot@lists.denx.de Subject: [PATCH 01/13] common/Kconfig: Reword text for BOARD_TYPES Date: Wed, 15 Feb 2023 22:36:47 -0500 Message-Id: <20230216033659.3877684-1-trini@konsulko.com> X-Mailer: git-send-email 2.34.1 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.6 at phobos.denx.de X-Virus-Status: Clean While it is true that for some Samsung platforms, we call get_board_type() the main usage of this CONFIG switch is to enable board_types in global data, which is then used by various platforms. Signed-off-by: Tom Rini Reviewed-by: Simon Glass --- common/Kconfig | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/common/Kconfig b/common/Kconfig index e3a5e1be1e95..86d6679d05b5 100644 --- a/common/Kconfig +++ b/common/Kconfig @@ -551,12 +551,11 @@ endmenu menu "Init options" config BOARD_TYPES - bool "Call get_board_type() to get and display the board type" + bool "Enable board_type entry in global data struct" help - If this option is enabled, checkboard() will call get_board_type() - to get a string containing the board type and this will be - displayed immediately after the model is shown on the console - early in boot. + If this option is enabled, a field will be added to the global + data struct to store an unsigned long value for the type of + platform that we have determined we are on, at run-time. config DISPLAY_CPUINFO bool "Display information about the CPU during start up" From patchwork Thu Feb 16 03:36:48 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tom Rini X-Patchwork-Id: 1743285 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=85.214.62.61; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: legolas.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=konsulko.com header.i=@konsulko.com header.a=rsa-sha256 header.s=google header.b=ldm+CPfD; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4PHLHP20Ytz23j7 for ; Thu, 16 Feb 2023 14:37:37 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 57D4885A75; Thu, 16 Feb 2023 04:37:19 +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="ldm+CPfD"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 2C67585A94; Thu, 16 Feb 2023 04:37:12 +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=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.2 Received: from mail-qt1-x834.google.com (mail-qt1-x834.google.com [IPv6:2607:f8b0:4864:20::834]) (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 6E78E85A8B for ; Thu, 16 Feb 2023 04:37:02 +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-x834.google.com with SMTP id cr22so912460qtb.10 for ; Wed, 15 Feb 2023 19:37:02 -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=kaeLl9S9hhaKnOyi24RF9dNF50joWWLJ7Vxnbd9i/xo=; b=ldm+CPfDvD8C8s7hTR4iUiXyJyCexC+wbxc0+EL4+rqeZIafNkZY6s8IHZRkBchJv1 jBOOx2sDJfvQ1La2d/8SsGXutu9by6RCwrLvBQEv9qVIucy2a6qkZchyV/+WoY+Bly2W dwz0TsLnD9MjeTxX/v4kIr2K1gsn2qU/mpTsI= 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=kaeLl9S9hhaKnOyi24RF9dNF50joWWLJ7Vxnbd9i/xo=; b=Iu5Yi9VTFB5b180HqjXGwU9yZ/cJO005YWdK0pbeLt/86DKzBJUcb34LCCxe+nu0pG k3j+FLssawzf3WKqQAlRZucDpYKZUb8tD/Uw69Y+RCbckDrEmFxWRexn48VD5PxaRfTZ KpCTE1DDcv+CdpqHFAxs4tn2aIxwx+bBXqAogyMBwcySzqG0r4dni8Sd0EtI/YdQ3oH9 ljg483+Th8cUm7HFfQwECQ6OKnLLTd0b/DaHajBxgvvMS/JUTHyrSWFCR8/+wL2pYFCJ e0VEjGT40dbj0+3vrPAjl1jgFeGcbBJuyW+QAMrvNJvXJhJKUzqnjK9qLadscxwgyWtq oXiw== X-Gm-Message-State: AO0yUKUpUMHp8kasa/t2pO97HohY9WqoOeaNAfY8G7dZkrH2g1fmI5Yt MWN8r1fy3rGv5MaogAZlfDv2OFKjEWPeecVwizg= X-Google-Smtp-Source: AK7set/JvuAfeIoJz6SmIbIIlik/rJcaQf8sI2EGEQKtx1ITLxFBRZKDVfvQnGtTfJCKKNMJ/nStoQ== X-Received: by 2002:ac8:59cf:0:b0:3b9:b4f9:d362 with SMTP id f15-20020ac859cf000000b003b9b4f9d362mr8103531qtf.43.1676518621005; 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.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 Feb 2023 19:37:00 -0800 (PST) From: Tom Rini To: u-boot@lists.denx.de Cc: Stefan Roese Subject: [PATCH 02/13] arm: mvebu: Add select on ARCH_EARLY_INIT_R if ARM64 Date: Wed, 15 Feb 2023 22:36:48 -0500 Message-Id: <20230216033659.3877684-2-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 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 We need to be calling arch_early_init_r() on 64bit mvebu platforms, so move this to a select. Cc: Stefan Roese Signed-off-by: Tom Rini Reviewed-by: Stefan Roese --- arch/arm/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index bd7fffcce0ba..724cbdde257c 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig @@ -588,6 +588,7 @@ config ARCH_KIRKWOOD config ARCH_MVEBU bool "Marvell MVEBU family (Armada XP/375/38x/3700/7K/8K)" + select ARCH_EARLY_INIT_R if ARM64 select DM select DM_SERIAL select DM_SPI From patchwork Thu Feb 16 03:36:49 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tom Rini X-Patchwork-Id: 1743286 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.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=) Authentication-Results: legolas.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=konsulko.com header.i=@konsulko.com header.a=rsa-sha256 header.s=google header.b=cysTm6sA; dkim-atps=neutral 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 ECDSA (P-384) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4PHLHd0zYBz23j7 for ; Thu, 16 Feb 2023 14:37:49 +1100 (AEDT) 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) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.2 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 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 Reviewed-by: Michal Simek Reviewed-by: Simon Glass --- 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 From patchwork Thu Feb 16 03:36:50 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tom Rini X-Patchwork-Id: 1743288 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.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=) Authentication-Results: legolas.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=konsulko.com header.i=@konsulko.com header.a=rsa-sha256 header.s=google header.b=Xv3PuaRR; dkim-atps=neutral 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 ECDSA (P-384)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4PHLJ86CDSz23j7 for ; Thu, 16 Feb 2023 14:38:16 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 82F9485AA8; Thu, 16 Feb 2023 04:37:40 +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="Xv3PuaRR"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 5E15E85A75; Thu, 16 Feb 2023 04:37:15 +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=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-qt1-x82e.google.com (mail-qt1-x82e.google.com [IPv6:2607:f8b0:4864:20::82e]) (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 CF0B785A9C 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-x82e.google.com with SMTP id m12so940875qth.4 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=mCvP2kITLttAAbTQhn26g2qvh2bE7dUiNNrEWiSd7rg=; b=Xv3PuaRRFngrRbU+7qbKM4Kg+GaAlKo09ChT7+MYKLt/3+TOHjqADAKv+Mk7FSOo8+ xUCZ3fyl1Ng/xLk4l4txMzXfkl/8NCIrWYI1kimuq5+qkS473TjCwAGcPgjj5TONPTeI +wAgPMrt07tzMvbtvbFyhGEsTbnlz4QM1DyXA= 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=mCvP2kITLttAAbTQhn26g2qvh2bE7dUiNNrEWiSd7rg=; b=vwZ5RAYvo85kQvdBnVaI091pxApjjW8QnUTJ6XojSNgrEo5sRAPQu38L9eZ5Ign6s9 3d6FchIoALBypRheU6310A+1LrNIC8+iY/AG5SjHciUrrR8j5RVGqmZlttP+xKvfV0lu 0ZjagNDkunzmgJXdl5BCHI20c7NjvbukbNVHmt7cwQNOiRlDPm19v4MbbNGdEPo+AnQz QL8sJnwjyMrOLLfKfqEwzTf+SpnKCmLUNGJ+IWbDvOb7jo3RpDknqRgbanzi3WatDKDw 0vC7WkkdfyFAGff4iFt8h7tTH30fwh7LDkDBGK9ztuNMzIMYmrKtAlcnL7neGVLyVfm5 +0sw== X-Gm-Message-State: AO0yUKV3kd4zwK9+7s8Roo5hGWeyfaMejFA59FL7XE60lVCYVkGJ50ND 5nWrexPUBqzGnnDu6brjnXROQ3LnSl6HX3sB0UE= X-Google-Smtp-Source: AK7set9saPHsOE8S3tHYHZrTy7SShVhc373/dglXvY9Ob5UAmytSzi5UO5bkFMmh9qkV+7Y/5IdNPQ== X-Received: by 2002:ac8:5a01:0:b0:3b9:b1eb:ad38 with SMTP id n1-20020ac85a01000000b003b9b1ebad38mr7341358qta.50.1676518622255; Wed, 15 Feb 2023 19:37:02 -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:02 -0800 (PST) From: Tom Rini To: u-boot@lists.denx.de Cc: Andy Yan , Quentin Schulz , Klaus Goger Subject: [PATCH 04/13] arm: rk3368: Select ARCH_EARLY_INIT_R when used Date: Wed, 15 Feb 2023 22:36:50 -0500 Message-Id: <20230216033659.3877684-4-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 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 On the lion and evb-px5 platforms, we need this function, so select it. Cc: Andy Yan Cc: Quentin Schulz Cc: Klaus Goger Signed-off-by: Tom Rini Reviewed-by: Simon Glass Reviewed-by: Quentin Schulz --- arch/arm/mach-rockchip/rk3368/Kconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/mach-rockchip/rk3368/Kconfig b/arch/arm/mach-rockchip/rk3368/Kconfig index c3249a7be457..3de695186ed9 100644 --- a/arch/arm/mach-rockchip/rk3368/Kconfig +++ b/arch/arm/mach-rockchip/rk3368/Kconfig @@ -5,6 +5,7 @@ choice config TARGET_LION_RK3368 bool "Theobroma Systems RK3368-uQ7 (Lion) module" + select ARCH_EARLY_INIT_R help The RK3368-uQ7 is a micro-Qseven form-factor (40mm x 70mm, MXM-230 connector) system-on-module designed by Theobroma @@ -34,6 +35,7 @@ config TARGET_GEEKBOX config TARGET_EVB_PX5 bool "Evb-PX5" + select ARCH_EARLY_INIT_R help PX5 EVB is designed by Rockchip for automotive field with integrated CVBS (TP2825) / MIPI DSI / CSI / LVDS From patchwork Thu Feb 16 03:36:51 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tom Rini X-Patchwork-Id: 1743287 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.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=) Authentication-Results: legolas.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=konsulko.com header.i=@konsulko.com header.a=rsa-sha256 header.s=google header.b=bUSBrgdN; dkim-atps=neutral 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 ECDSA (P-384)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4PHLHv27ySz23j7 for ; Thu, 16 Feb 2023 14:38:03 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id E527485AAF; Thu, 16 Feb 2023 04:37:31 +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="bUSBrgdN"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id ECD4E85A9C; Thu, 16 Feb 2023 04:37:16 +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=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-qt1-x82f.google.com (mail-qt1-x82f.google.com [IPv6:2607:f8b0:4864:20::82f]) (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 93E6185AAA for ; Thu, 16 Feb 2023 04:37:04 +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-x82f.google.com with SMTP id m12so940888qth.4 for ; Wed, 15 Feb 2023 19:37:04 -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:to:from:from:to:cc:subject:date:message-id :reply-to; bh=2uHAwrHkqAXpdMp8OvtU4L1rlSqtpoOacaG4UWTMC1U=; b=bUSBrgdNjNAIQ2VMfVDWk9BYdKGhXRMa5qtIxFY4UEvlihmgKQxdgoMIbRMlJ0N14w m1GaBmStwylCJW4lD7cUoH05EQiWv54hbd0/GfJ/GbPQiUVTP1k8GTrEqZFR/u0QtAYO vesGZaUEadau0vYTz1RmMlAruZELYTlzXlAJ0= 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:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=2uHAwrHkqAXpdMp8OvtU4L1rlSqtpoOacaG4UWTMC1U=; b=Cl6UGqEAhtD7KN6fCduas9tTTNffrnkb039gjlliV/4GuuToVF0B2zzU3gXipaJv3X QzcFkZx8LQJmljZTEiRTTBIr3mG4eJzGS68yCO6JhS6CPBPNJxluqd4nVwQpf3At8HdE ZaEY/SnPm6TPNaoUvb7v9KFJh1h1cGimz0/PgxAUkLpoRO6fcuUdQthDbeoYxzQ9xXnp JnADFOirh+y8YDY2mf2tgKP3pRg6dmy3GcPmXSxEGzqyC8CsBZB0eaQ0XTfmBjWGF+zW /WbaODqoCJDLMmuePzrNdfx88OaembTupsqxs6muS0oOqdqeFyQdtj2AzRydZOH2t70d 4P3g== X-Gm-Message-State: AO0yUKX5jsgWBIZAW1oaFa/dF+KQmQMNE3ggGDRmRtJnC8eYQdkybnN6 3nu85Ec1Yoit5dmpfsZekC09jVaKgCRGBXp6Dt4= X-Google-Smtp-Source: AK7set+hhhjgL62nEWFONOZpOGDP9x7O9BsGeOYOr5aXqag2a4/ZeMqbpEX5WP58FQ3Wt6i+9byG1g== X-Received: by 2002:a05:622a:4d:b0:3b8:2d45:4760 with SMTP id y13-20020a05622a004d00b003b82d454760mr8436648qtw.61.1676518622734; Wed, 15 Feb 2023 19:37:02 -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.02 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 Feb 2023 19:37:02 -0800 (PST) From: Tom Rini To: u-boot@lists.denx.de Subject: [PATCH 05/13] common: Make ARCH_EARLY_INIT_R be selected only Date: Wed, 15 Feb 2023 22:36:51 -0500 Message-Id: <20230216033659.3877684-5-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 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 As platforms which require this hook need this hook enabled, in order to function, or do not need this hook, it doesn't make sense to prompt the user. As all platforms that need this hook now select the symbol, remove the prompt text. Signed-off-by: Tom Rini Reviewed-by: Simon Glass --- common/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/Kconfig b/common/Kconfig index 86d6679d05b5..e35fca69823d 100644 --- a/common/Kconfig +++ b/common/Kconfig @@ -633,7 +633,7 @@ config EVENT_DEBUG endif # EVENT config ARCH_EARLY_INIT_R - bool "Call arch-specific init soon after relocation" + bool help With this option U-Boot will call arch_early_init_r() soon after relocation. Driver model is running by this point, and the cache From patchwork Thu Feb 16 03:36:52 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tom Rini X-Patchwork-Id: 1743290 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.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=) Authentication-Results: legolas.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=konsulko.com header.i=@konsulko.com header.a=rsa-sha256 header.s=google header.b=S5X7N60J; dkim-atps=neutral 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 ECDSA (P-384)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4PHLJc4r3Dz23j7 for ; Thu, 16 Feb 2023 14:38:40 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id B1EA685AB5; Thu, 16 Feb 2023 04:37:48 +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="S5X7N60J"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 0D65485A9F; Thu, 16 Feb 2023 04:37:20 +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=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-qt1-x82a.google.com (mail-qt1-x82a.google.com [IPv6:2607:f8b0:4864:20::82a]) (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 42CEF85AA4 for ; Thu, 16 Feb 2023 04:37:05 +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-x82a.google.com with SMTP id h24so990823qtr.0 for ; Wed, 15 Feb 2023 19:37:05 -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=y8uxpFsDVbiL+iO0ngrhGOfBBX+daPpAo9agaFGhuac=; b=S5X7N60JK6S/YiZh/ZqxJLAAGuX/S9Vc55iY+8UycnqxhX82RBFKBEM6UpGzRxKiN+ cjUSJMghZluBK9EaHx23XI7LRaE0W7pjmSmdXaaTgMvdsU5hCGdd2n8LmMTsOKY8uVWi aL8TQwaE9hTeqCL2zeA5qIbiCoHUv7n8laVJE= 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=y8uxpFsDVbiL+iO0ngrhGOfBBX+daPpAo9agaFGhuac=; b=UzEZQicUw42yaK9PQtHWbnC7rbPrtge7CcK1LgYNSRyqqIxL6Oy8t27NZTk8oCGcxV Zc1nPxtRcXkfxd7ch/mkXWwdtNnrvtMrRhN7ZjDY9fYH1FflXgP5A7YcPmifaY+Lf2JD yO8gp/Sh8cyvOl0r2MdRgNEUC+VVDTpvmfkS2oxmk6yKLxbdlIAXRjmsGtnpW5XS+1hU lS2UC34ZwlpKkEQwSb/yTKgO0ZufTY1Sj8wBOzpHgb1ecevX7fyqs28tLrMQUP3ndmSm CyaZXHtG9OjsICvU4Lq745U8d61dRmEq3G1FIu431yoaSSj9udEz/CdCu3GYetWYxzo6 ttaw== X-Gm-Message-State: AO0yUKV235fyAGzHM4qKAnD3hDn8tVLS14x05/vyDo2+lKeA0J1P4PDa t5GiWtes/2y3s/DSYV3WWo5ohYJo7foHjS7jsHY= X-Google-Smtp-Source: AK7set8wiXdWCDa7bCUej/YgT2Lv1m2H0edSONpm+oNsbOGygBhkeantm1OOH7tWbTIN/hVh7OYrsA== X-Received: by 2002:ac8:5f07:0:b0:3b6:a1c2:f63c with SMTP id x7-20020ac85f07000000b003b6a1c2f63cmr7178473qta.33.1676518623295; Wed, 15 Feb 2023 19:37:03 -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.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 Feb 2023 19:37:03 -0800 (PST) From: Tom Rini To: u-boot@lists.denx.de Cc: Peng Fan Subject: [PATCH 06/13] imx9: Remove ARCH_MISC_INIT Date: Wed, 15 Feb 2023 22:36:52 -0500 Message-Id: <20230216033659.3877684-6-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 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 We don't need an empty function, we can just not enable the hook we don't use. Cc: Peng Fan Signed-off-by: Tom Rini Reviewed-by: Simon Glass Reviewed-by: Peng Fan --- arch/arm/mach-imx/imx9/soc.c | 5 ----- configs/imx93_11x11_evk_defconfig | 1 - 2 files changed, 6 deletions(-) diff --git a/arch/arm/mach-imx/imx9/soc.c b/arch/arm/mach-imx/imx9/soc.c index 797d7a802baf..a16e22ea6bbf 100644 --- a/arch/arm/mach-imx/imx9/soc.c +++ b/arch/arm/mach-imx/imx9/soc.c @@ -208,11 +208,6 @@ int print_cpuinfo(void) return 0; } -int arch_misc_init(void) -{ - return 0; -} - int ft_system_setup(void *blob, struct bd_info *bd) { return 0; diff --git a/configs/imx93_11x11_evk_defconfig b/configs/imx93_11x11_evk_defconfig index 64da123c3723..33d703020798 100644 --- a/configs/imx93_11x11_evk_defconfig +++ b/configs/imx93_11x11_evk_defconfig @@ -25,7 +25,6 @@ CONFIG_DISTRO_DEFAULTS=y CONFIG_REMAKE_ELF=y CONFIG_SYS_MONITOR_LEN=524288 CONFIG_DEFAULT_FDT_FILE="imx93-11x11-evk.dtb" -CONFIG_ARCH_MISC_INIT=y CONFIG_BOARD_EARLY_INIT_F=y CONFIG_BOARD_LATE_INIT=y CONFIG_SPL_MAX_SIZE=0x26000 From patchwork Thu Feb 16 03:36:53 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tom Rini X-Patchwork-Id: 1743289 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.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=) Authentication-Results: legolas.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=konsulko.com header.i=@konsulko.com header.a=rsa-sha256 header.s=google header.b=dyscsoDo; dkim-atps=neutral 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 ECDSA (P-384)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4PHLJN68qgz23j7 for ; Thu, 16 Feb 2023 14:38:28 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id D9A8C85AB8; Thu, 16 Feb 2023 04:37:44 +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="dyscsoDo"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id CBAE685A9C; Thu, 16 Feb 2023 04:37:17 +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=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.2 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 665FD85AA5 for ; Thu, 16 Feb 2023 04:37:05 +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 f10so956629qtv.1 for ; Wed, 15 Feb 2023 19:37:05 -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=2USGRCZQcy4ol5WAairFRNbM6l2ual70sR7VTOXXNGQ=; b=dyscsoDo3KvYY496WyKVcdgL+xr0REDbi6Z7a7iGkFDDVx+DqZwRrF/2uBFFAwe95l Hb2P9FhlosWs5QFBkp5JMmNgvxOF87VRzkiMfL+7LnVSIXJIZxEm6qLHC5H5H7r29BCH QGpsdwOazaoANoIjLPVrc7PuKRaxdLwRCvXm8= 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=2USGRCZQcy4ol5WAairFRNbM6l2ual70sR7VTOXXNGQ=; b=OQgl49P4cmrhmt78T0MaX8vEof9EEeadbapVI8xxhG/+RupZnzExj+zO3jhHTpDMEu 9cFknZWpI5zifKZfVPhJCjI8M1p6OTIOXMSCn0vwkEjQMaz482cl5oseTpXYCSudXtC4 aTfEYgb6GeuRE1bJyg5puAp2RJuITISe5OiFmRP6/zBPBB9FWvNQWlsT60Xf7/zvjcnk crZb0Q46uX94S8aaySAKvrCLneyLfzDKkjkmkjyNTzhti4IvoiRfF3uRCMQomzo/3CWn v7v1nEh0P+az5sY+hXEwwOBL5orUaP7+FzYxxrbI2DW1mNb0WEGljurlP0h25fZyip3V pt1A== X-Gm-Message-State: AO0yUKXm/1Pe9Ap6hpivyQ8rX0cu5NgRlK0iqLoZ487D8K7dbasdG+vy bXlB1tKWedv3Qvg/5dpwN+ug+9+QL8po0UBwO5c= X-Google-Smtp-Source: AK7set9O+bBiNmths2R2yRHKsnoTN3Fz9EXTcFQJg8LNUyIx0WLrYwKx5OXcVoYw5sau0//JvXrzYA== X-Received: by 2002:a05:622a:110a:b0:3b9:bf32:f8c8 with SMTP id e10-20020a05622a110a00b003b9bf32f8c8mr7440432qty.24.1676518623860; Wed, 15 Feb 2023 19:37:03 -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.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 Feb 2023 19:37:03 -0800 (PST) From: Tom Rini To: u-boot@lists.denx.de Cc: Chris Packham Subject: [PATCH 07/13] mvebe: Drop ARCH_MISC_INIT from alleycat 5 Date: Wed, 15 Feb 2023 22:36:53 -0500 Message-Id: <20230216033659.3877684-7-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 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 In this platform, arch_misc_init doesn't perform any real function. The call to get_soc_type_rev has no lasting side effects. Cc: Chris Packham Signed-off-by: Tom Rini Reviewed-by: Simon Glass Reviewed-by: Chris Packham --- arch/arm/mach-mvebu/alleycat5/soc.c | 9 --------- configs/mvebu_ac5_rd_defconfig | 1 - 2 files changed, 10 deletions(-) diff --git a/arch/arm/mach-mvebu/alleycat5/soc.c b/arch/arm/mach-mvebu/alleycat5/soc.c index efbef233a148..dc69f46eedb2 100644 --- a/arch/arm/mach-mvebu/alleycat5/soc.c +++ b/arch/arm/mach-mvebu/alleycat5/soc.c @@ -287,12 +287,3 @@ int mach_cpu_init(void) return 0; } - -int arch_misc_init(void) -{ - u32 type, rev; - - get_soc_type_rev(&type, &rev); - - return 0; -} diff --git a/configs/mvebu_ac5_rd_defconfig b/configs/mvebu_ac5_rd_defconfig index a27202eb23e2..4e66791dbda8 100644 --- a/configs/mvebu_ac5_rd_defconfig +++ b/configs/mvebu_ac5_rd_defconfig @@ -22,7 +22,6 @@ CONFIG_SYS_CONSOLE_ENV_OVERWRITE=y CONFIG_SYS_CONSOLE_INFO_QUIET=y CONFIG_DISPLAY_BOARDINFO_LATE=y CONFIG_ARCH_EARLY_INIT_R=y -CONFIG_ARCH_MISC_INIT=y CONFIG_CMD_BOOTZ=y CONFIG_SYS_EEPROM_PAGE_WRITE_DELAY_MS=10 CONFIG_CMD_MEMTEST=y From patchwork Thu Feb 16 03:36:54 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tom Rini X-Patchwork-Id: 1743291 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=85.214.62.61; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: legolas.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=konsulko.com header.i=@konsulko.com header.a=rsa-sha256 header.s=google header.b=FmXVXYmz; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4PHLJq5bXMz23j7 for ; Thu, 16 Feb 2023 14:38:51 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id AC26385AAB; Thu, 16 Feb 2023 04:37:51 +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="FmXVXYmz"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 3CFF785AA2; Thu, 16 Feb 2023 04:37:22 +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=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.2 Received: from mail-qt1-x82b.google.com (mail-qt1-x82b.google.com [IPv6:2607:f8b0:4864:20::82b]) (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 3650285AA7 for ; Thu, 16 Feb 2023 04:37:06 +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-x82b.google.com with SMTP id 5so916655qtp.9 for ; Wed, 15 Feb 2023 19:37:06 -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=fqY3vUZYtQLFu/DLMdR6BaTUJDGBCzszxIiTTD+okro=; b=FmXVXYmzC3Z7vWKdNGKm9jPkjZJqs1z+rgUT0DdJnraVFIZA/IXyTbTID21M10TrOM 7DqnmLe8xAEjUquVwpOy1GBHZwFW+cMIBLSSbolMil1GyNvI9Ns9DTCkctxG0ZbUdvJp D6ZJJRa5Trr+IuTG0eYAyDK7f8Wf7/kjkjalk= 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=fqY3vUZYtQLFu/DLMdR6BaTUJDGBCzszxIiTTD+okro=; b=cmLRCREWDEz4oCe6MYaacF8wi5WfVRtYpTUrB9MeV2VWr+cUdChdEUbrnkOlCMA94N xbYCl1GVa+zsmKuGTd9quByrkiWtZuLrwCLD/gzMwZT4nszguTIUinSJ5Ya8prIQoS4P NSChtvvNgMtrA1stobipOgPoVZuBiv/TBk1wNztlDxDlkCT4jKyZFqglDjFuzojsNngK nOhB7lMXXHAQJ3buFoRztuSqgndTXiIiePt1oIZ9nRowH69uCarEOQ1JmwRxyXa69qx3 2YKvtVZ9XlCwKik8lIF/szgf5dqLf95VC/EQBVlTYNb06zN7+vFXoRaosUyXDZ85O5Hw dm1g== X-Gm-Message-State: AO0yUKX9pN6ymBccWxPfTPXFc2kBIsAE1vcHSBW8G4/ePBowzeUhBNSO bctpeYG4TkphvHAqQbGxotSdaoOebuvSU2HqeTE= X-Google-Smtp-Source: AK7set9y+P/KffGkiCb5NZJbt5qGtyxkDd1ETEtMLvoheJKNXdPjwBudW95JJu4I7lsdOH2fajFPjA== X-Received: by 2002:a05:622a:410:b0:3b9:e0b2:9a47 with SMTP id n16-20020a05622a041000b003b9e0b29a47mr8608269qtx.57.1676518624477; Wed, 15 Feb 2023 19:37:04 -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.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 Feb 2023 19:37:04 -0800 (PST) From: Tom Rini To: u-boot@lists.denx.de Cc: Stefan Roese Subject: [PATCH 08/13] mvebu: Drop empty arch_misc_init Date: Wed, 15 Feb 2023 22:36:54 -0500 Message-Id: <20230216033659.3877684-8-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 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 If this hooks is needed later, it should be added and populated for real. Cc: Stefan Roese Signed-off-by: Tom Rini Reviewed-by: Stefan Roese --- arch/arm/mach-mvebu/Kconfig | 1 - arch/arm/mach-mvebu/cpu.c | 11 ----------- 2 files changed, 12 deletions(-) diff --git a/arch/arm/mach-mvebu/Kconfig b/arch/arm/mach-mvebu/Kconfig index 16c5e7229550..6a8bf39f86b1 100644 --- a/arch/arm/mach-mvebu/Kconfig +++ b/arch/arm/mach-mvebu/Kconfig @@ -5,7 +5,6 @@ config HAVE_MVEBU_EFUSE config ARMADA_32BIT bool - select ARCH_MISC_INIT select BOARD_EARLY_INIT_F select CPU_V7A select SPL_DM if SPL diff --git a/arch/arm/mach-mvebu/cpu.c b/arch/arm/mach-mvebu/cpu.c index 329d13691f0e..1d14e2eca596 100644 --- a/arch/arm/mach-mvebu/cpu.c +++ b/arch/arm/mach-mvebu/cpu.c @@ -514,17 +514,6 @@ u32 mvebu_get_nand_clock(void) NAND_ECC_DIVCKL_RATIO_MASK) >> NAND_ECC_DIVCKL_RATIO_OFFS); } -/* - * SOC specific misc init - */ -#if defined(CONFIG_ARCH_MISC_INIT) -int arch_misc_init(void) -{ - /* Nothing yet, perhaps we need something here later */ - return 0; -} -#endif /* CONFIG_ARCH_MISC_INIT */ - #if defined(CONFIG_MMC_SDHCI_MV) && !defined(CONFIG_DM_MMC) int board_mmc_init(struct bd_info *bis) { From patchwork Thu Feb 16 03:36:55 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tom Rini X-Patchwork-Id: 1743294 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=85.214.62.61; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: legolas.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=konsulko.com header.i=@konsulko.com header.a=rsa-sha256 header.s=google header.b=I5Kup1jj; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4PHLKm6wDYz23j7 for ; Thu, 16 Feb 2023 14:39:40 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 8492285ACF; Thu, 16 Feb 2023 04:37:59 +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="I5Kup1jj"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 4D7DB85A8B; Thu, 16 Feb 2023 04:37:28 +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=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-qt1-x829.google.com (mail-qt1-x829.google.com [IPv6:2607:f8b0:4864:20::829]) (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 93D0785AAC for ; Thu, 16 Feb 2023 04:37:06 +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-x829.google.com with SMTP id f10so956651qtv.1 for ; Wed, 15 Feb 2023 19:37:06 -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=kstZscqHrxKNGf3pVYnv+SnqE4E2DfrI7LPK7yI8Bwo=; b=I5Kup1jjB5BnoQnTeww5VpW9tkoVnqc5tCLMkjDjwF0wTSqziZR5fEgPtw8qaVVa7M SxaYXcVEDTu1mhnVxi61bhjLVd5xtYp1CbWzwtSgyYkMASF0tPKj37OAP3vneC/BhqMT zmv682n7ho9PUd6lR3KtqBeH5x6ctqkeTQz1U= 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=kstZscqHrxKNGf3pVYnv+SnqE4E2DfrI7LPK7yI8Bwo=; b=D6v1rU7FQHrZJM9CZ+I3xojOLwr8H/zhPX7zE7ae+ZCNeu6xdu2YKEYX/OalSxJLdb Ad4vvh2YUgpMDJgJ6SNwX7f5+8zJVwQYdQfAlBAYsiZ9VAJ1G9zYsivQ+hqQJEF8rDei sg9D8n18o+hIw2GTbuG7zPPzmNcXqV6m63vgjuW29HVDDO9NTGXsqJffhaedIdjw/CSZ fBkYd9v7jN943TOPHEAbPMV0/R5GFvRa2/DW7bRk75+FojHoeDf5ZWBiI1HRY32wg2xX 1qLqF1K+oIwPSf5K5mZnNdxvKjJofsaaYb3qQTk0g+JD4KHLCOA5hA7rTkDAU+bqFhlY Mxpg== X-Gm-Message-State: AO0yUKU3fgCQj2htc2as+wyNhyaE7LbhTmDfXzuXtTLYNt97louJ/fDc 2USziDPoHeal1bBc1EGj4bDn64h71TiXDdPjbvk= X-Google-Smtp-Source: AK7set8+iZ9hLAD57NnBT13X/TfCC6C3oDIMBdpg0xBDxAnHD18c0Gv4gqX8B6XtM0g48zrk8kQGrg== X-Received: by 2002:ac8:7d8a:0:b0:3b8:6b41:104f with SMTP id c10-20020ac87d8a000000b003b86b41104fmr7613019qtd.40.1676518625074; Wed, 15 Feb 2023 19:37:05 -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.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 Feb 2023 19:37:04 -0800 (PST) From: Tom Rini To: u-boot@lists.denx.de Cc: Stefan Bosch Subject: [PATCH 09/13] s5p: Remove empty arch_misc_init Date: Wed, 15 Feb 2023 22:36:55 -0500 Message-Id: <20230216033659.3877684-9-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 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 We don't need to provide an empty arch_misc_init function here, we can just not enable the hook. Cc: Stefan Bosch Signed-off-by: Tom Rini Reviewed-by: Simon Glass Reviewed-by: Minkyu Kang --- arch/arm/cpu/armv7/s5p4418/cpu.c | 7 ------- configs/s5p4418_nanopi2_defconfig | 1 - 2 files changed, 8 deletions(-) diff --git a/arch/arm/cpu/armv7/s5p4418/cpu.c b/arch/arm/cpu/armv7/s5p4418/cpu.c index fcaafc0ff76f..8febfe527669 100644 --- a/arch/arm/cpu/armv7/s5p4418/cpu.c +++ b/arch/arm/cpu/armv7/s5p4418/cpu.c @@ -84,10 +84,3 @@ void enable_caches(void) /* Enable D-cache. I-cache is already enabled in start.S */ dcache_enable(); } - -#if defined(CONFIG_ARCH_MISC_INIT) -int arch_misc_init(void) -{ - return 0; -} -#endif /* CONFIG_ARCH_MISC_INIT */ diff --git a/configs/s5p4418_nanopi2_defconfig b/configs/s5p4418_nanopi2_defconfig index 0645b09f78a4..a6154e137287 100644 --- a/configs/s5p4418_nanopi2_defconfig +++ b/configs/s5p4418_nanopi2_defconfig @@ -29,7 +29,6 @@ CONFIG_FIT_BEST_MATCH=y CONFIG_SUPPORT_RAW_INITRD=y CONFIG_OF_BOARD_SETUP=y CONFIG_BOOTDELAY=1 -CONFIG_ARCH_MISC_INIT=y CONFIG_BOARD_LATE_INIT=y CONFIG_HUSH_PARSER=y CONFIG_SYS_PBSIZE=1050 From patchwork Thu Feb 16 03:36:56 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tom Rini X-Patchwork-Id: 1743292 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=85.214.62.61; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: legolas.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=konsulko.com header.i=@konsulko.com header.a=rsa-sha256 header.s=google header.b=e/ND7IhO; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4PHLK40KVBz23j7 for ; Thu, 16 Feb 2023 14:39:04 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id B2BFB85ACB; Thu, 16 Feb 2023 04:37:55 +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="e/ND7IhO"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 04DE085A9C; Thu, 16 Feb 2023 04:37:23 +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=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-qt1-x834.google.com (mail-qt1-x834.google.com [IPv6:2607:f8b0:4864:20::834]) (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 3D6ED85AA8 for ; Thu, 16 Feb 2023 04:37:06 +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-x834.google.com with SMTP id cr22so912570qtb.10 for ; Wed, 15 Feb 2023 19:37:06 -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=jFQzkKoCIjs6Pi3PwKmyJeJqaFNweSAEMtew7RGOk9E=; b=e/ND7IhOWRDdwYwt5D2709MtTsIEUPJxNdqedj3j8sGESWdQqH1SA0Rrm6B2H/RzwW rNpQBndfi2L7yt3RgF8Mi9e0ZvTnwD5BmxFYqFBPjM5PxpCZDCLmWFlGaf4omFiUvO/K 9iEjTrl5Y9PStCZO0fjDWcKLMTtV52PSYduvo= 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=jFQzkKoCIjs6Pi3PwKmyJeJqaFNweSAEMtew7RGOk9E=; b=W2swkaNLZg5EGGXOvOPMzZ9tBzChatApRSnXPAHXumaMkwBAh+cg6IQdVaDygQkCBs DjXtzhqSJSNNEJq3lV4+HB4oFw6qzEO1Z14o2T2zmsROmi14SJgXyp2cLGGW7tINZ8Fr mSvLTCgAIUH7Ggg9NV82Dl8ySRNonu3pU00ZylUHtEKdtX8Xo1XN/f0QkLWVAtNL1w4h sXZ8btaVHNI0nvFPD68vKhH/Kf3UvnEmdxfJ7IUfZ3qJ/Hh9gJeIk6WDBtfD0KwkEYme FckQX02MG+gAd5lAm+BQES6KLPFcILi1dB0X5qBeaf7qyOd8u9Tx0rObkRsQtvktkAGx MY7g== X-Gm-Message-State: AO0yUKX0Xi/cZVilsL8h1q7QlGfoV2GMwFJEMfEGWzi71sjTUtFEw6et p4dzkwLBJB/AuoEqVbEZX+YQbuSsD4BQlV/x5eQ= X-Google-Smtp-Source: AK7set9POoV/L8rhBeJpjN+PuSodjeDx/TuElLiElFOlhY4LD0iI5FWVfzc2Qmxx4CKTFRkP/dYERA== X-Received: by 2002:ac8:5c02:0:b0:3b9:bc8c:c20f with SMTP id i2-20020ac85c02000000b003b9bc8cc20fmr1547067qti.26.1676518625722; Wed, 15 Feb 2023 19:37:05 -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.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 Feb 2023 19:37:05 -0800 (PST) From: Tom Rini To: u-boot@lists.denx.de Cc: Marcel Ziswiler Subject: [PATCH 10/13] verdin-imx8mm: Remove unused SPL_BOARD_INIT Date: Wed, 15 Feb 2023 22:36:56 -0500 Message-Id: <20230216033659.3877684-10-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 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 On this platform SPL_BOARD_INIT is used to call arch_misc_init which is in turn empty, drop the call. Cc: Marcel Ziswiler Signed-off-by: Tom Rini Acked-by: Marcel Ziswiler --- board/toradex/verdin-imx8mm/spl.c | 5 ----- configs/verdin-imx8mm_defconfig | 1 - 2 files changed, 6 deletions(-) diff --git a/board/toradex/verdin-imx8mm/spl.c b/board/toradex/verdin-imx8mm/spl.c index 9d54d60bb17d..3f33ff7d87a4 100644 --- a/board/toradex/verdin-imx8mm/spl.c +++ b/board/toradex/verdin-imx8mm/spl.c @@ -51,11 +51,6 @@ void spl_dram_init(void) ddr_init(&dram_timing); } -void spl_board_init(void) -{ - arch_misc_init(); -} - #ifdef CONFIG_SPL_LOAD_FIT int board_fit_config_name_match(const char *name) { diff --git a/configs/verdin-imx8mm_defconfig b/configs/verdin-imx8mm_defconfig index 5b5f7c051e54..0e7d67cf093d 100644 --- a/configs/verdin-imx8mm_defconfig +++ b/configs/verdin-imx8mm_defconfig @@ -40,7 +40,6 @@ CONFIG_BOARD_LATE_INIT=y CONFIG_SPL_HAS_BSS_LINKER_SECTION=y CONFIG_SPL_BSS_START_ADDR=0x910000 CONFIG_SPL_BSS_MAX_SIZE=0x2000 -CONFIG_SPL_BOARD_INIT=y # CONFIG_SPL_SHARES_INIT_SP_ADDR is not set CONFIG_SPL_STACK=0x920000 CONFIG_SYS_SPL_MALLOC=y From patchwork Thu Feb 16 03:36:57 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tom Rini X-Patchwork-Id: 1743297 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=85.214.62.61; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: legolas.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=konsulko.com header.i=@konsulko.com header.a=rsa-sha256 header.s=google header.b=L6FlTXM2; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4PHLLP5QNvz1yYg for ; Thu, 16 Feb 2023 14:40:13 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 4C09B85AD5; Thu, 16 Feb 2023 04:38:12 +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="L6FlTXM2"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 2828B85AA8; Thu, 16 Feb 2023 04:37:30 +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=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.2 Received: from mail-qt1-x82b.google.com (mail-qt1-x82b.google.com [IPv6:2607:f8b0:4864:20::82b]) (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 B23B685AB5 for ; Thu, 16 Feb 2023 04:37:07 +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-x82b.google.com with SMTP id c2so937353qtw.5 for ; Wed, 15 Feb 2023 19:37:07 -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=kORE1dFJQQkxiua0w3GUy3F6Wac78vsHg7A9QWyahu4=; b=L6FlTXM2HqwlM47xP+0qJnIAmhYLEqa17jUc3fm7D6mo53u6/IdIxhsPAi16hz7KdP llwheiR1/7Qgb2vD8LRc4BOvzQeBSsqCtTgyJgLN43UmS5Ew5XVrr+0f4lSInmx8Dzws SJwZrfIGEhYj1MpSrNeEPdUku7Bb7n05UD19M= 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=kORE1dFJQQkxiua0w3GUy3F6Wac78vsHg7A9QWyahu4=; b=F5lKu+NTgGgssFw6QykoMtQkc92PJW12vaKajs7zuNvSdiAiStxP7F7JGzR5EKJHmP etRC6PRsIBhufedVERUti+qEng+6GlS9cKH1YD76F+n5XBCKCh2nTxvOQmwjNOZJYyhA rNsIWwh2i2LHqMbVxvsv09W+YOhDUhrBrOX+e1JNep0QWwg9ebtHMb1RRYZUT4/uWPdO suBET7IXLDZVk1+ennkqv0rKUUCnXa1Shmqs1Ku/dqckW8nnnNtGVk34v7ap/NmZ02Cl Qay7eLgjU9PYeG9yw3C44mIedwpNq1dhXBY0HUcrUr9iz5/SLKfEwV18Yr0oTxDJ6Xx4 6cng== X-Gm-Message-State: AO0yUKXUDQZ3M/7hWwVgz8cx6hgpnPQtgBxCrcxtmMtYz3Hv9uvqTH67 EPTDKS7jJynd1YdofWqmq8VqOingXwXRHaUpm6o= X-Google-Smtp-Source: AK7set/0tVpRbPBir+idyGYR4KRyRzuypu6Ua+xAvEuc5vftfXlxi8YRPtQvjddVkvK2HVTJe46orw== X-Received: by 2002:ac8:5a8d:0:b0:3b8:2dac:b5e1 with SMTP id c13-20020ac85a8d000000b003b82dacb5e1mr6870793qtc.37.1676518626352; Wed, 15 Feb 2023 19:37:06 -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.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 Feb 2023 19:37:06 -0800 (PST) From: Tom Rini To: u-boot@lists.denx.de Cc: Marek Vasut , Olaf Mandel Subject: [PATCH 11/13] imx8mm-mx8menlo: Drop SPL_BOARD_INIT Date: Wed, 15 Feb 2023 22:36:57 -0500 Message-Id: <20230216033659.3877684-11-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 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 On this platform spl_board_init is a call to arch_misc_init which is a no-op, so drop the CONFIG options. Cc: Marek Vasut Cc: Olaf Mandel Signed-off-by: Tom Rini --- configs/imx8mm-mx8menlo_defconfig | 1 - 1 file changed, 1 deletion(-) diff --git a/configs/imx8mm-mx8menlo_defconfig b/configs/imx8mm-mx8menlo_defconfig index f1e48bba9653..7ca327676171 100644 --- a/configs/imx8mm-mx8menlo_defconfig +++ b/configs/imx8mm-mx8menlo_defconfig @@ -40,7 +40,6 @@ CONFIG_BOARD_LATE_INIT=y CONFIG_SPL_HAS_BSS_LINKER_SECTION=y CONFIG_SPL_BSS_START_ADDR=0x910000 CONFIG_SPL_BSS_MAX_SIZE=0x2000 -CONFIG_SPL_BOARD_INIT=y # CONFIG_SPL_SHARES_INIT_SP_ADDR is not set CONFIG_SPL_STACK=0x920000 CONFIG_SYS_SPL_MALLOC=y From patchwork Thu Feb 16 03:36:58 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tom Rini X-Patchwork-Id: 1743296 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.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=) Authentication-Results: legolas.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=konsulko.com header.i=@konsulko.com header.a=rsa-sha256 header.s=google header.b=Y3VsR8D/; dkim-atps=neutral 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 ECDSA (P-384)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4PHLL94Xrkz23j7 for ; Thu, 16 Feb 2023 14:40:01 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 7EFC785AD6; Thu, 16 Feb 2023 04:38:08 +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="Y3VsR8D/"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 48FE785AB2; Thu, 16 Feb 2023 04:37:32 +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=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.2 Received: from mail-qt1-x82a.google.com (mail-qt1-x82a.google.com [IPv6:2607:f8b0:4864:20::82a]) (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 8C58C85AB3 for ; Thu, 16 Feb 2023 04:37:07 +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-x82a.google.com with SMTP id h24so990927qtr.0 for ; Wed, 15 Feb 2023 19:37:07 -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=QtqWFLRFhEP1i9QpBUQBCLCI15qJ4s9NtZClnXAvRjY=; b=Y3VsR8D/MXfIEM6bz/STpzU5uq8RooH0BQQ7vA/A4UEu7DAz9vYgqfGhZqtLPLFuJw AymqwR9+XIAcGJWjE/1KzHddcvNfE4ttAd5KbLxm1hgJE0zGPRcHIozisIcZyIc8TGJr u/x6dtt3x42FEd59DG/KRkA8P1z8l7sMVvhOI= 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=QtqWFLRFhEP1i9QpBUQBCLCI15qJ4s9NtZClnXAvRjY=; b=qE7xT4ZnTzf8oVBpqujnx+9R3XQEWNAVPfdNmyuwFRVYfhRd7tx4vHQTr1mct8BdDZ eiGhM9fiIAj+5KeH+zTUAcusJSbiqIlG9oEi0QCjRFOabug6uvRKtCGObngc1aGH3Ftp zilR0d1rSyXBalBIl9XuVHhMFX022+2QtGAAX17XMPQZEvVlYB0yiJnypOOtPjcqXLIc dtU+qawIXOLDi9iIVu6lRRuYEbfy5IrGXf5pUEcjX0BMuVDgu8dtDIVV2kfpG4M6JeLa UmHjbN4F+gj8VxZha+x/0u+TjFHqqFxVyw5s6i/ew6/V/2Nt7tYHrrWixHkq73vcGece ZVDA== X-Gm-Message-State: AO0yUKX60IJtXYI9kocTGWXGA2n2P/mkEJo46E/CIlsCldgDlsfJeS95 IqoqTBLC91U0f7HiI/J+8jZTaF5oS/qYqPWPsMY= X-Google-Smtp-Source: AK7set+csXOa3ZIbhvcd3oY7MZkk9SjJMxKmf2ZqKjAGPcC+J2FQlOZL74b9N/nWMCuv1Mth+CnTUQ== X-Received: by 2002:ac8:5b10:0:b0:3bc:e796:8630 with SMTP id m16-20020ac85b10000000b003bce7968630mr7552938qtw.23.1676518626988; Wed, 15 Feb 2023 19:37:06 -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.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 Feb 2023 19:37:06 -0800 (PST) From: Tom Rini To: u-boot@lists.denx.de Cc: Stefano Babic , Fabio Estevam , "NXP i . MX U-Boot Team" Subject: [PATCH 12/13] global: Add a select for ARCH_MISC_INIT where used Date: Wed, 15 Feb 2023 22:36:58 -0500 Message-Id: <20230216033659.3877684-12-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 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 When we have an arch_misc_init function, we can select it to ensure it's used. In that there is a functional change here, it's that on i.MX6 it's always been possible to populate "serial#" with something meaningful, but not every platform was taking the hook, and now it is. Cc: Stefano Babic Cc: Fabio Estevam Cc: NXP i.MX U-Boot Team Signed-off-by: Tom Rini --- arch/arm/Kconfig | 7 +++++++ arch/arm/cpu/armv7/ls102xa/Kconfig | 1 + arch/arm/cpu/armv8/fsl-layerscape/Kconfig | 1 + arch/arm/mach-imx/imx8/Kconfig | 2 -- arch/arm/mach-imx/imx8m/Kconfig | 6 ------ arch/arm/mach-imx/mx6/Kconfig | 5 ----- arch/arm/mach-imx/mx7ulp/Kconfig | 1 - arch/arm/mach-imx/mxs/Kconfig | 3 +++ arch/arm/mach-omap2/Kconfig | 1 + arch/arm/mach-tegra/tegra124/Kconfig | 1 + arch/arm/mach-tegra/tegra20/Kconfig | 1 + arch/arm/mach-tegra/tegra30/Kconfig | 2 ++ arch/mips/Kconfig | 1 + arch/powerpc/Kconfig | 1 + 14 files changed, 19 insertions(+), 14 deletions(-) diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index c51f15fcf465..ef3910b367b5 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig @@ -605,6 +605,7 @@ config ARCH_MVEBU config ARCH_ORION5X bool "Marvell Orion" + select ARCH_MISC_INIT select CPU_ARM926EJS select GPIO_EXTRA_HEADER select SPL_SEPARATE_BSS if SPL @@ -819,6 +820,7 @@ config ARCH_LPC32XX config ARCH_IMX8 bool "NXP i.MX8 platform" select ARM64 + select ARCH_MISC_INIT if FSL_CAAM select SYS_FSL_HAS_SEC select SYS_FSL_SEC_COMPAT_4 select SYS_FSL_SEC_LE @@ -832,6 +834,7 @@ config ARCH_IMX8 config ARCH_IMX8M bool "NXP i.MX8M platform" select ARM64 + select ARCH_MISC_INIT if FSL_CAAM select GPIO_EXTRA_HEADER select MACH_IMX select SYS_FSL_HAS_SEC @@ -902,6 +905,7 @@ config ARCH_MX31 config ARCH_MX7ULP bool "NXP MX7ULP" + select ARCH_MISC_INIT if FSL_CAAM select BOARD_POSTCLK_INIT select CPU_V7A select GPIO_EXTRA_HEADER @@ -929,6 +933,7 @@ config ARCH_MX7 config ARCH_MX6 bool "Freescale MX6" + select ARCH_MISC_INIT select BOARD_POSTCLK_INIT select CPU_V7A select GPIO_EXTRA_HEADER @@ -1023,6 +1028,7 @@ config ARCH_QEMU config ARCH_RMOBILE bool "Renesas ARM SoCs" + select ARCH_MISC_INIT if !RZA1 select DM select DM_SERIAL select GPIO_EXTRA_HEADER @@ -1198,6 +1204,7 @@ config ARCH_VERSAL_NET config ARCH_VF610 bool "Freescale Vybrid" + select ARCH_MISC_INIT select CPU_V7A select GPIO_EXTRA_HEADER select IOMUX_SHARE_CONF_REG diff --git a/arch/arm/cpu/armv7/ls102xa/Kconfig b/arch/arm/cpu/armv7/ls102xa/Kconfig index 3e292bf70e18..4546025195b9 100644 --- a/arch/arm/cpu/armv7/ls102xa/Kconfig +++ b/arch/arm/cpu/armv7/ls102xa/Kconfig @@ -1,5 +1,6 @@ config ARCH_LS1021A bool + select ARCH_MISC_INIT if FSL_CAAM select FSL_DEVICE_DISABLE select FSL_IFC if !QSPI_BOOT && !SD_BOOT_QSPI select LS102XA_STREAM_ID diff --git a/arch/arm/cpu/armv8/fsl-layerscape/Kconfig b/arch/arm/cpu/armv8/fsl-layerscape/Kconfig index a8b493e2f875..a42ede24f189 100644 --- a/arch/arm/cpu/armv8/fsl-layerscape/Kconfig +++ b/arch/arm/cpu/armv8/fsl-layerscape/Kconfig @@ -328,6 +328,7 @@ config ARCH_LX2160A config FSL_LSCH2 bool + select ARCH_MISC_INIT if FSL_CAAM select SKIP_LOWLEVEL_INIT select SYS_FSL_CCSR_GUR_BE select SYS_FSL_CCSR_SCFG_BE diff --git a/arch/arm/mach-imx/imx8/Kconfig b/arch/arm/mach-imx/imx8/Kconfig index 37d12d189586..c211a1bb687e 100644 --- a/arch/arm/mach-imx/imx8/Kconfig +++ b/arch/arm/mach-imx/imx8/Kconfig @@ -75,7 +75,6 @@ config TARGET_IMX8QM_MEK select BOARD_LATE_INIT select IMX8QM select FSL_CAAM - select ARCH_MISC_INIT select SPL_CRYPTO if SPL config TARGET_CONGA_QMX8 @@ -98,7 +97,6 @@ config TARGET_IMX8QXP_MEK select BOARD_LATE_INIT select IMX8QXP select FSL_CAAM - select ARCH_MISC_INIT select SPL_CRYPTO if SPL endchoice diff --git a/arch/arm/mach-imx/imx8m/Kconfig b/arch/arm/mach-imx/imx8m/Kconfig index 5e4836b02feb..d6845c053718 100644 --- a/arch/arm/mach-imx/imx8m/Kconfig +++ b/arch/arm/mach-imx/imx8m/Kconfig @@ -51,7 +51,6 @@ config TARGET_IMX8MQ_EVK select IMX8MQ select IMX8M_LPDDR4 select FSL_CAAM - select ARCH_MISC_INIT select SPL_CRYPTO if SPL config TARGET_IMX8MQ_PHANBELL @@ -74,7 +73,6 @@ config TARGET_IMX8MM_EVK select SUPPORT_SPL select IMX8M_LPDDR4 select FSL_CAAM - select ARCH_MISC_INIT select SPL_CRYPTO if SPL config TARGET_IMX8MM_ICORE_MX8MM @@ -126,7 +124,6 @@ config TARGET_KONTRON_MX8MM select SUPPORT_SPL select IMX8M_LPDDR4 select FSL_CAAM - select ARCH_MISC_INIT select SPL_CRYPTO if SPL config TARGET_IMX8MN_BSH_SMM_S2 @@ -198,7 +195,6 @@ config TARGET_IMX8MP_EVK select SUPPORT_SPL select IMX8M_LPDDR4 select FSL_CAAM - select ARCH_MISC_INIT select SPL_CRYPTO if SPL config TARGET_IMX8MP_VENICE @@ -250,7 +246,6 @@ config TARGET_IMX8MM_BEACON select SUPPORT_SPL select IMX8M_LPDDR4 select FSL_CAAM - select ARCH_MISC_INIT select SPL_CRYPTO if SPL config TARGET_IMX8MN_BEACON @@ -260,7 +255,6 @@ config TARGET_IMX8MN_BEACON select SUPPORT_SPL select IMX8M_LPDDR4 select FSL_CAAM - select ARCH_MISC_INIT select SPL_CRYPTO if SPL config TARGET_PHYCORE_IMX8MM diff --git a/arch/arm/mach-imx/mx6/Kconfig b/arch/arm/mach-imx/mx6/Kconfig index 7529b311f80e..5df41da8771b 100644 --- a/arch/arm/mach-imx/mx6/Kconfig +++ b/arch/arm/mach-imx/mx6/Kconfig @@ -364,7 +364,6 @@ config TARGET_MX6SABREAUTO select SUPPORT_SPL imply CMD_DM select FSL_CAAM - select ARCH_MISC_INIT config TARGET_MX6SABRESD bool "mx6sabresd" @@ -376,7 +375,6 @@ config TARGET_MX6SABRESD select SUPPORT_SPL imply CMD_DM select FSL_CAAM - select ARCH_MISC_INIT config TARGET_MX6SLEVK bool "mx6slevk" @@ -401,7 +399,6 @@ config TARGET_MX6SXSABRESD select DM_THERMAL select SUPPORT_SPL select FSL_CAAM - select ARCH_MISC_INIT config TARGET_MX6SXSABREAUTO bool "mx6sxsabreauto" @@ -421,7 +418,6 @@ config TARGET_MX6UL_9X9_EVK select SUPPORT_SPL imply CMD_DM select FSL_CAAM - select ARCH_MISC_INIT config TARGET_MX6UL_14X14_EVK bool "mx6ul_14x14_evk" @@ -432,7 +428,6 @@ config TARGET_MX6UL_14X14_EVK select SUPPORT_SPL imply CMD_DM select FSL_CAAM - select ARCH_MISC_INIT config TARGET_MX6UL_ENGICAM bool "Support Engicam GEAM6UL/Is.IoT" diff --git a/arch/arm/mach-imx/mx7ulp/Kconfig b/arch/arm/mach-imx/mx7ulp/Kconfig index 632c4bf6fa5e..e238e977a71a 100644 --- a/arch/arm/mach-imx/mx7ulp/Kconfig +++ b/arch/arm/mach-imx/mx7ulp/Kconfig @@ -41,7 +41,6 @@ config TARGET_MX7ULP_EVK select MX7ULP select SYS_ARCH_TIMER select FSL_CAAM - select ARCH_MISC_INIT endchoice diff --git a/arch/arm/mach-imx/mxs/Kconfig b/arch/arm/mach-imx/mxs/Kconfig index b2026a3758a5..797eaf83bda8 100644 --- a/arch/arm/mach-imx/mxs/Kconfig +++ b/arch/arm/mach-imx/mxs/Kconfig @@ -10,10 +10,12 @@ choice config TARGET_MX23_OLINUXINO bool "Support mx23_olinuxino" + select ARCH_MISC_INIT select BOARD_EARLY_INIT_F config TARGET_MX23EVK bool "Support mx23evk" + select ARCH_MISC_INIT select BOARD_EARLY_INIT_F config TARGET_XFI3 @@ -41,6 +43,7 @@ choice config TARGET_MX28EVK bool "Support mx28evk" + select ARCH_MISC_INIT select BOARD_EARLY_INIT_F config TARGET_XEA diff --git a/arch/arm/mach-omap2/Kconfig b/arch/arm/mach-omap2/Kconfig index 309b967b0dd5..e874060d283c 100644 --- a/arch/arm/mach-omap2/Kconfig +++ b/arch/arm/mach-omap2/Kconfig @@ -113,6 +113,7 @@ config AM43XX config AM33XX bool "AM33XX SoC" select ARM_CORTEX_A8_CVE_2017_5715 + select ARCH_MISC_INIT if USB select DM_EVENT select SPECIFY_CONSOLE_INDEX imply NAND_OMAP_ELM diff --git a/arch/arm/mach-tegra/tegra124/Kconfig b/arch/arm/mach-tegra/tegra124/Kconfig index fb016aa46c90..b3f25fc0827d 100644 --- a/arch/arm/mach-tegra/tegra124/Kconfig +++ b/arch/arm/mach-tegra/tegra124/Kconfig @@ -6,6 +6,7 @@ choice config TARGET_APALIS_TK1 bool "Toradex Apalis TK1 module" + select ARCH_MISC_INIT select ARCH_SUPPORT_PSCI select CPU_V7_HAS_NONSEC select CPU_V7_HAS_VIRT diff --git a/arch/arm/mach-tegra/tegra20/Kconfig b/arch/arm/mach-tegra/tegra20/Kconfig index 955786c0c484..142290e97389 100644 --- a/arch/arm/mach-tegra/tegra20/Kconfig +++ b/arch/arm/mach-tegra/tegra20/Kconfig @@ -57,6 +57,7 @@ config TARGET_VENTANA config TARGET_COLIBRI_T20 bool "Toradex Colibri T20 board" + select ARCH_MISC_INIT select BOARD_LATE_INIT select TEGRA_UARTA_SDIO1 diff --git a/arch/arm/mach-tegra/tegra30/Kconfig b/arch/arm/mach-tegra/tegra30/Kconfig index 5619d1cd42f7..8f6f24a7a7ca 100644 --- a/arch/arm/mach-tegra/tegra30/Kconfig +++ b/arch/arm/mach-tegra/tegra30/Kconfig @@ -12,6 +12,7 @@ choice config TARGET_APALIS_T30 bool "Toradex Apalis T30 board" + select ARCH_MISC_INIT select BOARD_LATE_INIT config TARGET_BEAVER @@ -26,6 +27,7 @@ config TARGET_CARDHU config TARGET_COLIBRI_T30 bool "Toradex Colibri T30 board" + select ARCH_MISC_INIT select BOARD_LATE_INIT config TARGET_TEC_NG diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig index 569f5f48bc6c..536b6ad64aa9 100644 --- a/arch/mips/Kconfig +++ b/arch/mips/Kconfig @@ -98,6 +98,7 @@ config ARCH_JZ47XX config ARCH_OCTEON bool "Support Marvell Octeon CN7xxx platforms" select ARCH_EARLY_INIT_R + select ARCH_MISC_INIT select CPU_CAVIUM_OCTEON select DISPLAY_CPUINFO select DMA_ADDR_T_64BIT diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig index bee59c3bea4f..93bc1a4b6b3f 100644 --- a/arch/powerpc/Kconfig +++ b/arch/powerpc/Kconfig @@ -17,6 +17,7 @@ config MPC83xx config MPC85xx bool "MPC85xx" + select ARCH_MISC_INIT if FSL_CAAM && !(ARCH_P1010 || TARGET_KMCENT2) select CREATE_ARCH_SYMLINK select SYS_FSL_DDR select SYS_FSL_DDR_BE From patchwork Thu Feb 16 03:36:59 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tom Rini X-Patchwork-Id: 1743295 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.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=) Authentication-Results: legolas.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=konsulko.com header.i=@konsulko.com header.a=rsa-sha256 header.s=google header.b=h3lqAnzq; dkim-atps=neutral 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 ECDSA (P-384)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4PHLKy6hscz23j7 for ; Thu, 16 Feb 2023 14:39:50 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id AF2C385AB6; Thu, 16 Feb 2023 04:38: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=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="h3lqAnzq"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 1634A85A80; Thu, 16 Feb 2023 04:37:31 +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=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-qt1-x82b.google.com (mail-qt1-x82b.google.com [IPv6:2607:f8b0:4864:20::82b]) (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 28A4A85AB8 for ; Thu, 16 Feb 2023 04:37:08 +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-x82b.google.com with SMTP id 5so916742qtp.9 for ; Wed, 15 Feb 2023 19:37:08 -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:to:from:from:to:cc:subject:date:message-id :reply-to; bh=q+YCthNoDiEE5f7sM9U2ZuIkTZhuOSsmJok2Rqtm6Ug=; b=h3lqAnzqQUi7Roc4KVVTydJtqO1t3ssEAmVbo25zZ8t5sNHGtP2y81LL3mwsUCMuZg trlIm3MNc5G9H8za6zGl+3zYNT8px+TBeGwpPBcnGmM5e2SaWIQBTczAtJWADFJqBF1G K3wHwTwKQ6Xwj0DRW+FzhznqaRF2yXbGfhsaE= 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:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=q+YCthNoDiEE5f7sM9U2ZuIkTZhuOSsmJok2Rqtm6Ug=; b=opBNWsKSdAA2cFImF/hvJZCCHGcd+V/ynTBkZPn32zpGWliv8sIssG+E8ThXBGK54a hZx8JtUSebgT86ImGiZph1gOGYx5wcNof6NjlcRpWLO2ZP6boJmk0CS1pEZtoWlgjAMN rqjj5FofXOdxEyx7gm8FfXYkgd0SRhsv59J0p1IB9oM/DtZqPt9xuY8T+U7L501EXYKK JOklCojVt940/o16pQYUQg5AXP0BWq0aNsE0UxE1IRh/M2rDkL9M+++DygI3i2SduHio ZXlzqFVqvWnKXlqHqtnrYkWmrQrcmQquQXZrRU6jFiAdf74IXw+QcDIPpkLlp4rQyP32 lfyQ== X-Gm-Message-State: AO0yUKX5wcMRfKSkBjR9TEocdLYNOmYtW4OZOZVZQPyjYyo75ERqbp7z H4BmOP66aidtkuZfJABoTbDYuq2aq1phls0RU7w= X-Google-Smtp-Source: AK7set8QCSntMIDW0p9ZDKhCFe7huBq5wG9SbTBPjj3/IeW4CawKaGLviuG2cdF94tdkjyj+6IHZtA== X-Received: by 2002:ac8:5ac3:0:b0:3b8:60b9:e75b with SMTP id d3-20020ac85ac3000000b003b860b9e75bmr7622789qtd.3.1676518627650; Wed, 15 Feb 2023 19:37:07 -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.07 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 Feb 2023 19:37:07 -0800 (PST) From: Tom Rini To: u-boot@lists.denx.de Subject: [PATCH 13/13] common: Make ARCH_MISC_INIT be selected only Date: Wed, 15 Feb 2023 22:36:59 -0500 Message-Id: <20230216033659.3877684-13-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 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 As platforms which require this hook need this hook enabled, in order to function, or do not need this hook, it doesn't make sense to prompt the user. As all platforms that need this hook now select the symbol, remove the prompt text. Signed-off-by: Tom Rini Reviewed-by: Simon Glass --- common/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/Kconfig b/common/Kconfig index e35fca69823d..866e3b153f5b 100644 --- a/common/Kconfig +++ b/common/Kconfig @@ -641,7 +641,7 @@ config ARCH_EARLY_INIT_R enabled. This can be used to set up architecture-specific devices. config ARCH_MISC_INIT - bool "Call arch-specific init after relocation, when console is ready" + bool help With this option U-Boot will call arch_misc_init() after relocation to allow miscellaneous arch-dependent initialisation