mirror of
				https://xff.cz/git/u-boot/
				synced 2025-10-31 18:35:42 +01:00 
			
		
		
		
	m68k: cache: define ARCH_DMA_MINALIGN for DMA buffer alignment
Signed-off-by: Anton Staaf <robotboy@chromium.org> Cc: Mike Frysinger <vapier@gentoo.org> Cc: Lukasz Majewski <l.majewski@samsung.com> Cc: Jason Jin <jason.jin@freescale.com>
This commit is contained in:
		
				
					committed by
					
						 Wolfgang Denk
						Wolfgang Denk
					
				
			
			
				
	
			
			
			
						parent
						
							44d6cbb6a7
						
					
				
				
					commit
					a8fc12eb8e
				
			| @@ -207,4 +207,14 @@ void dcache_invalid(void); | ||||
|  | ||||
| #endif | ||||
|  | ||||
| /* | ||||
|  * m68k uses 16 byte L1 data cache line sizes.  Use this for DMA buffer | ||||
|  * alignment unless the board configuration has specified a new value. | ||||
|  */ | ||||
| #ifdef CONFIG_SYS_CACHELINE_SIZE | ||||
| #define ARCH_DMA_MINALIGN	CONFIG_SYS_CACHELINE_SIZE | ||||
| #else | ||||
| #define ARCH_DMA_MINALIGN	16 | ||||
| #endif | ||||
|  | ||||
| #endif				/* __CACHE_H */ | ||||
|   | ||||
		Reference in New Issue
	
	Block a user