summaryrefslogtreecommitdiffstats
path: root/arch/powerpc
diff options
context:
space:
mode:
authorAhmad Fatoum <a.fatoum@pengutronix.de>2021-02-02 20:40:56 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2021-02-04 11:11:35 +0100
commit576d407abb53cf73e211f5eb67bf6c1e2d7cf731 (patch)
tree95ebbb63bfb8944d2f6831a8d1ed5edadc250f2a /arch/powerpc
parent107d1c2d528c416363a332c4f0e1515005b9ace4 (diff)
downloadbarebox-576d407abb53cf73e211f5eb67bf6c1e2d7cf731.tar.gz
barebox-576d407abb53cf73e211f5eb67bf6c1e2d7cf731.tar.xz
ppc: <asm/io.h>: remove duplicate definition
This implementation is equivalent to the one now provided by <asm-generic/io.h>, so it can be dropped. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/powerpc')
-rw-r--r--arch/powerpc/include/asm/io.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/powerpc/include/asm/io.h b/arch/powerpc/include/asm/io.h
index 025c06f3b7..8488c36f65 100644
--- a/arch/powerpc/include/asm/io.h
+++ b/arch/powerpc/include/asm/io.h
@@ -86,10 +86,6 @@ extern void _outsl_ns(volatile u32 *port, const void *buf, int nl);
#define IO_SPACE_LIMIT ~0
-#define memset_io(a,b,c) memset((void *)(a),(b),(c))
-#define memcpy_fromio(a,b,c) memcpy((a),(void *)(b),(c))
-#define memcpy_toio(a,b,c) memcpy((void *)(a),(b),(c))
-
/*
* Enforce In-order Execution of I/O:
* Acts as a barrier to ensure all previous I/O accesses have