From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from metis.ext.pengutronix.de ([85.220.165.71]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1l5WP4-0003QL-Gh for barebox@lists.infradead.org; Fri, 29 Jan 2021 16:13:47 +0000 From: Ahmad Fatoum Date: Fri, 29 Jan 2021 17:11:11 +0100 Message-Id: <20210129161116.9971-3-a.fatoum@pengutronix.de> In-Reply-To: <20210129161116.9971-1-a.fatoum@pengutronix.de> References: <20210129161116.9971-1-a.fatoum@pengutronix.de> MIME-Version: 1.0 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "barebox" Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: [PATCH 3/8] ARM: : define macros for I/O memcpy/memset To: barebox@lists.infradead.org Cc: Ahmad Fatoum expects architectures to define memcpy_toio, memcpy_fromio and memset_io as macros as it checks for their existence with #ifndef. Only ARM defines an own implementation, but does so as function declaration. Add the missing macros. Signed-off-by: Ahmad Fatoum --- arch/arm/include/asm/io.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/arm/include/asm/io.h b/arch/arm/include/asm/io.h index 072b47317c03..b442a37b9c1d 100644 --- a/arch/arm/include/asm/io.h +++ b/arch/arm/include/asm/io.h @@ -3,6 +3,10 @@ #define IO_SPACE_LIMIT 0 +#define memcpy_fromio memcpy_fromio +#define memcpy_toio memcpy_toio +#define memset_io memset_io + #include #include -- 2.30.0 _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox