From patchwork Wed Jun 19 21:27:56 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tom Rini X-Patchwork-Id: 1949855 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; dkim=pass (1024-bit key; unprotected) header.d=konsulko.com header.i=@konsulko.com header.a=rsa-sha256 header.s=google header.b=iBB8/xGe; dkim-atps=neutral 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=patchwork.ozlabs.org) 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 (secp384r1)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4W4GvW09yCz20X8 for ; Thu, 20 Jun 2024 07:28:39 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 500DD884F1; Wed, 19 Jun 2024 23:28:12 +0200 (CEST) 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="iBB8/xGe"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 6AFDA884BA; Wed, 19 Jun 2024 23:28:10 +0200 (CEST) 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, T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.2 Received: from mail-ot1-x32b.google.com (mail-ot1-x32b.google.com [IPv6:2607:f8b0:4864:20::32b]) (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 43570882DA for ; Wed, 19 Jun 2024 23:28:08 +0200 (CEST) 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-ot1-x32b.google.com with SMTP id 46e09a7af769-6f980c89db8so96630a34.1 for ; Wed, 19 Jun 2024 14:28:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; t=1718832487; x=1719437287; darn=lists.denx.de; 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=0OQTEtjdFP/SwMt+oBpZIdgduuwg6zoow3rwEX80eJo=; b=iBB8/xGe9UmUVqC/pct2MR0zqzu3PBe9uY6Q/wM86X1HeFMkdq8yCPuTSwy7gSOzW/ /7FDP0Zs2QaRjKZMhcUK9Xwlt11UAO6OMuWAmh/daSSH+XOJZx7T7JyIb5TEpmfLn7/A wD4fvw63RM6MNnw/2zHQAhHZ+XC4TVqAKTSx8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718832487; x=1719437287; 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=0OQTEtjdFP/SwMt+oBpZIdgduuwg6zoow3rwEX80eJo=; b=Lo1ofaEyQW/R6viOXDFVBDi7cCn6Pt3X+KWGd3Z9iXgZttx8+U+r9t7CsWbd8I6BFB zerJwy9GCxwdXDw1va5lCqMF3EFSkJIuhTNZdsgTaXQACGKuz1aFMJOEvt4ZhdiooIVp y6QIRqKIqyepmW9FLbov/l6pb3LzaLhb3jAIcjS+wp3AI4LoylY5TP4VZ8b4uFHPdeFK RjOl5hGfmk+3m/173VQUrT1sRKihusUhnjdZZTCWY9DLMmntsXP73Pqs4iNX3heWm4Ql MzZIudNMm2yqrZvKnlZB8hIJuc10DRkolKyF6JOuAcjlDLmg0+uYmZsAzm2dsr/rXc6W XJsA== X-Gm-Message-State: AOJu0Yyb0cn25hahF8o4/YJh4+OMzKQfvEro2oCc8i8n/0zLnT8wgNIh FYrDmKdEzmY/OcbNENd3RFp5E3Wp8atHfYlV2+DqpbSlNTcGnev+1BFU81Elx47/Q0zARRDLgZs m66zzVA== X-Google-Smtp-Source: AGHT+IEwcHl3snOsHtFuh27GMtEPRVabc0Bv+wb0YQu+tjeywW9MWPIEhGFPRa5wWHQaVg0VX8jgCQ== X-Received: by 2002:a9d:5c15:0:b0:6f9:bcb5:6e90 with SMTP id 46e09a7af769-700747d4227mr3616950a34.15.1718832487018; Wed, 19 Jun 2024 14:28:07 -0700 (PDT) Received: from bill-the-cat.tail58a08.ts.net (fixed-187-190-205-45.totalplay.net. [187.190.205.45]) by smtp.gmail.com with ESMTPSA id 46e09a7af769-7008a5a34c9sm338654a34.73.2024.06.19.14.28.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 19 Jun 2024 14:28:06 -0700 (PDT) From: Tom Rini To: u-boot@lists.denx.de Cc: Heinrich Schuchardt , Ilias Apalodimas , Marek Vasut , Nobuhiro Iwamatsu Subject: [PATCH 4/7] sh: Add the old invalidate_icache_all function Date: Wed, 19 Jun 2024 15:27:56 -0600 Message-Id: <20240619212759.3456158-4-trini@konsulko.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240619212759.3456158-1-trini@konsulko.com> References: <20240619212759.3456158-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.8 at phobos.denx.de X-Virus-Status: Clean Add the old invalidate_icache_all function that prints a warning that was previously found in cmd/cache.c Signed-off-by: Tom Rini --- Cc: Marek Vasut Cc: Nobuhiro Iwamatsu --- arch/sh/cpu/sh4/cache.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/arch/sh/cpu/sh4/cache.c b/arch/sh/cpu/sh4/cache.c index f0cb39d6a923..d3c480e79ed2 100644 --- a/arch/sh/cpu/sh4/cache.c +++ b/arch/sh/cpu/sh4/cache.c @@ -6,6 +6,7 @@ #include #include +#include #include #include #include @@ -100,6 +101,11 @@ void icache_disable(void) cache_control(CACHE_DISABLE); } +void invalidate_icache_all(void) +{ + puts("No arch specific invalidate_icache_all available!\n"); +} + int icache_status(void) { return 0;