All of lore.kernel.org
 help / color / mirror / Atom feed
From: Rasmus Villemoes <rasmus.villemoes@prevas.dk>
To: u-boot@lists.denx.de
Subject: [PATCH v2 1/2] powerpc: lib: remove leftover CONFIG_5xx
Date: Tue, 13 Apr 2021 21:38:26 +0200	[thread overview]
Message-ID: <20210413193827.2632540-2-rasmus.villemoes@prevas.dk> (raw)
In-Reply-To: <20210413193827.2632540-1-rasmus.villemoes@prevas.dk>

CONFIG_5xx hasn't existed since commit 502589777416 (powerpc, 5xx:
remove support for 5xx). Remove this last mention of it.

Signed-off-by: Rasmus Villemoes <rasmus.villemoes@prevas.dk>
---
 arch/powerpc/lib/cache.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/arch/powerpc/lib/cache.c b/arch/powerpc/lib/cache.c
index 3c3c470bbb..3e487f50fe 100644
--- a/arch/powerpc/lib/cache.c
+++ b/arch/powerpc/lib/cache.c
@@ -11,7 +11,6 @@
 
 void flush_cache(ulong start_addr, ulong size)
 {
-#ifndef CONFIG_5xx
 	ulong addr, start, end;
 
 	start = start_addr & ~(CONFIG_SYS_CACHELINE_SIZE - 1);
@@ -33,5 +32,4 @@ void flush_cache(ulong start_addr, ulong size)
 	asm volatile("sync" : : : "memory");
 	/* flush prefetch queue */
 	asm volatile("isync" : : : "memory");
-#endif
 }
-- 
2.29.2

  reply	other threads:[~2021-04-13 19:38 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-13 19:38 [PATCH v2 0/2] powerpc: introduce CONFIG_CACHE_FLUSH_WATCHDOG_THRESHOLD Rasmus Villemoes
2021-04-13 19:38 ` Rasmus Villemoes [this message]
2021-04-15  5:30   ` [PATCH v2 1/2] powerpc: lib: remove leftover CONFIG_5xx Stefan Roese
2021-04-13 19:38 ` [PATCH v2 2/2] powerpc: introduce CONFIG_CACHE_FLUSH_WATCHDOG_THRESHOLD Rasmus Villemoes
2021-04-15  5:34   ` Stefan Roese
2021-04-15  6:46     ` Rasmus Villemoes
2021-04-15  6:55       ` Stefan Roese
2021-04-21  9:16 ` [PATCH v3 0/2] " Rasmus Villemoes
2021-04-21  9:16   ` [PATCH v3 1/2] powerpc: lib: remove leftover CONFIG_5xx Rasmus Villemoes
2021-04-21  9:16   ` [PATCH v3 2/2] powerpc: introduce CONFIG_CACHE_FLUSH_WATCHDOG_THRESHOLD Rasmus Villemoes

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210413193827.2632540-2-rasmus.villemoes@prevas.dk \
    --to=rasmus.villemoes@prevas.dk \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.