mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH 1/3] ARM: drop unused mmiocpy/mmioset symbols
@ 2025-04-22  7:57 Ahmad Fatoum
  2025-04-22  7:57 ` [PATCH 2/3] ARM: define position-independent __pi_memmove/memset/memcpy Ahmad Fatoum
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Ahmad Fatoum @ 2025-04-22  7:57 UTC (permalink / raw)
  To: barebox

From: Ahmad Fatoum <a.fatoum@barebox.org>

These are unused and we have memcpy_toio/fromio and memset_io
functions that should be used instead.

Signed-off-by: Ahmad Fatoum <a.fatoum@barebox.org>
---
 arch/arm/lib32/memcpy.S | 2 --
 arch/arm/lib32/memset.S | 2 --
 2 files changed, 4 deletions(-)

diff --git a/arch/arm/lib32/memcpy.S b/arch/arm/lib32/memcpy.S
index 90f2b645aa0d..ffa4c8f394bf 100644
--- a/arch/arm/lib32/memcpy.S
+++ b/arch/arm/lib32/memcpy.S
@@ -56,11 +56,9 @@ UNWIND( .save	{r0, \regs}		)
 /* Prototype: void *memcpy(void *dest, const void *src, size_t n); */
 
 ENTRY(__memcpy)
-ENTRY(mmiocpy)
 WEAK(memcpy)
 
 #include "copy_template.S"
 
 ENDPROC(memcpy)
-ENDPROC(mmiocpy)
 ENDPROC(__memcpy)
diff --git a/arch/arm/lib32/memset.S b/arch/arm/lib32/memset.S
index de75ae4d5ab4..b0c0e11e991b 100644
--- a/arch/arm/lib32/memset.S
+++ b/arch/arm/lib32/memset.S
@@ -14,7 +14,6 @@
 	.align	5
 
 ENTRY(__memset)
-ENTRY(mmioset)
 WEAK(memset)
 UNWIND( .fnstart         )
 	and	r1, r1, #255		@ cast to unsigned char
@@ -132,7 +131,6 @@ UNWIND( .fnstart            )
 	b	1b
 UNWIND( .fnend   )
 ENDPROC(memset)
-ENDPROC(mmioset)
 ENDPROC(__memset)
 
 ENTRY(__memset32)
-- 
2.39.5




^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2025-04-22 10:09 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-04-22  7:57 [PATCH 1/3] ARM: drop unused mmiocpy/mmioset symbols Ahmad Fatoum
2025-04-22  7:57 ` [PATCH 2/3] ARM: define position-independent __pi_memmove/memset/memcpy Ahmad Fatoum
2025-04-22  7:57 ` [PATCH 3/3] RISC-V: " Ahmad Fatoum
2025-04-22  8:57 ` [PATCH 1/3] ARM: drop unused mmiocpy/mmioset symbols Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox