mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH] kvx: Remove unused defines
@ 2023-07-11  9:08 Jules Maselbas
  2023-07-26 12:29 ` Sascha Hauer
  0 siblings, 1 reply; 2+ messages in thread
From: Jules Maselbas @ 2023-07-11  9:08 UTC (permalink / raw)
  To: barebox; +Cc: Jules Maselbas

Since commit f6dcd5c03b ("kvx: dma: Remove arch dma_map/unmap_single"),
theses defines are not used anymore, remove them.

Signed-off-by: Jules Maselbas <jmaselbas@kalray.eu>
---
 arch/kvx/include/asm/dma.h | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/arch/kvx/include/asm/dma.h b/arch/kvx/include/asm/dma.h
index 5bf601307e..f35eafba8f 100644
--- a/arch/kvx/include/asm/dma.h
+++ b/arch/kvx/include/asm/dma.h
@@ -6,10 +6,6 @@
 
 #include <common.h>
 
-#define KVX_DDR_32BIT_RAM_WINDOW_BA	(0x80000000ULL)
-#define KVX_DDR_64BIT_RAM_WINDOW_BA	(0x100000000ULL)
-#define MAX_32BIT_ADDR			(0xffffffffULL)
-
 #define dma_alloc dma_alloc
 static inline void *dma_alloc(size_t size)
 {
-- 
2.17.1








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

* Re: [PATCH] kvx: Remove unused defines
  2023-07-11  9:08 [PATCH] kvx: Remove unused defines Jules Maselbas
@ 2023-07-26 12:29 ` Sascha Hauer
  0 siblings, 0 replies; 2+ messages in thread
From: Sascha Hauer @ 2023-07-26 12:29 UTC (permalink / raw)
  To: Jules Maselbas; +Cc: barebox, Jules Maselbas

On Tue, Jul 11, 2023 at 11:08:41AM +0200, Jules Maselbas wrote:
> Since commit f6dcd5c03b ("kvx: dma: Remove arch dma_map/unmap_single"),
> theses defines are not used anymore, remove them.
> 
> Signed-off-by: Jules Maselbas <jmaselbas@kalray.eu>
> ---
>  arch/kvx/include/asm/dma.h | 4 ----
>  1 file changed, 4 deletions(-)

Applied, thanks

Sascha

> 
> diff --git a/arch/kvx/include/asm/dma.h b/arch/kvx/include/asm/dma.h
> index 5bf601307e..f35eafba8f 100644
> --- a/arch/kvx/include/asm/dma.h
> +++ b/arch/kvx/include/asm/dma.h
> @@ -6,10 +6,6 @@
>  
>  #include <common.h>
>  
> -#define KVX_DDR_32BIT_RAM_WINDOW_BA	(0x80000000ULL)
> -#define KVX_DDR_64BIT_RAM_WINDOW_BA	(0x100000000ULL)
> -#define MAX_32BIT_ADDR			(0xffffffffULL)
> -
>  #define dma_alloc dma_alloc
>  static inline void *dma_alloc(size_t size)
>  {
> -- 
> 2.17.1
> 
> 
> 
> 
> 
> 
> 

-- 
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



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

end of thread, other threads:[~2023-07-26 12:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-07-11  9:08 [PATCH] kvx: Remove unused defines Jules Maselbas
2023-07-26 12:29 ` Sascha Hauer

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