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